install(TARGETS libt2n-codegen DESTINATION bin)
install(FILES ${CPP_HEADERS} DESTINATION include)
install(FILES clientlib.pc.in DESTINATION share/libt2n)
+install(FILES Libt2n.cmake DESTINATION ${CMAKE_ROOT}/Modules)
set(t2n_mydaemon_GROUP
${CMAKE_SOURCE_DIR}/src/t2n_mydaemon.cpp
)
-include(Libt2n.cmake)
+include(${CMAKE_SOURCE_DIR}/codegen/Libt2n.cmake)
# Call setup_libt2n with the CMDGROUP name
setup_libt2n(t2n_mydaemon)
# for each command group list the files to parse for LIBT2N_EXPORT
set(t2nexample_GROUP ${CMAKE_CURRENT_SOURCE_DIR}/t2nexample.cpp)
# include CMake snippet doing all the magic
-include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Libt2n.cmake)
+include(${CMAKE_SOURCE_DIR}/codegen/Libt2n.cmake)
# command groups are listed here (seperated by spaces)
setup_libt2n(t2nexample)
# ${CMAKE_CURRENT_SOURCE_DIR}/foo.hxx
#)
# include CMake snippet doing all the magic
-include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Libt2n.cmake)
+include(${CMAKE_SOURCE_DIR}/codegen/Libt2n.cmake)
# command groups are listed here (seperated by spaces)
setup_libt2n(default other)
%package devel
Summary: talk2neighbor - C++ IPC library
Group: Intranator/Development
-Requires: libt2n = %{version} libgettext gccxml libxml++ boost-devel
+Requires: libt2n = %{version} gccxml libxml++ boost-devel
BuildPrereq: boost-devel
%description devel
%{prefix}/include/
# %{prefix}/share/aclocal
%{prefix}/share/libt2n
+%{prefix}/share/cmake/Modules/Libt2n.cmake