diff --git a/CMakeLists.txt b/CMakeLists.txt index 5434138..9f72ed4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,6 +158,8 @@ set(SOURCES openems.cpp ) +set(PUB_HEADERS openems.h) + # libs ADD_SUBDIRECTORY( tools ) ADD_SUBDIRECTORY( FDTD ) @@ -204,5 +206,6 @@ if (UNIX) PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) endif() endif () +INSTALL(FILES ${PUB_HEADERS} DESTINATION include/openEMS) INSTALL( DIRECTORY matlab DESTINATION share/openEMS ) # TODO mpi, tarball, debug, release diff --git a/nf2ff/CMakeLists.txt b/nf2ff/CMakeLists.txt index d43d519..ef8bc6f 100644 --- a/nf2ff/CMakeLists.txt +++ b/nf2ff/CMakeLists.txt @@ -47,5 +47,7 @@ TARGET_LINK_LIBRARIES(nf2ff_bin nf2ff) INSTALL(TARGETS nf2ff_bin DESTINATION bin) INSTALL(TARGETS nf2ff DESTINATION lib${LIB_SUFFIX}) +INSTALL(FILES ${HEADERS} DESTINATION include/openEMS) + #TODO tarball, debug, release