diff --git a/CMakeLists.txt b/CMakeLists.txt index 84ba1e0..3640bb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,6 @@ set(SRCS "src/node.cpp") set(HDRS - "include/neocomm.hpp" "include/neocomm/channel.hpp" "include/neocomm/node.hpp") @@ -78,7 +77,10 @@ set_target_properties(${TARGET_NAME} PROPERTIES PUBLIC_HEADER "${HDRS}") install(TARGETS ${TARGET_NAME} - ARCHIVE DESTINATION lib/ - LIBRARY DESTINATION lib/ - PUBLIC_HEADER DESTINATION include/ + ARCHIVE DESTINATION "lib/" + LIBRARY DESTINATION "lib/" + PUBLIC_HEADER DESTINATION "include/neocomm/" CONFIGURATIONS release minsizerel) + +install(FILES "include/neocomm.hpp" + DESTINATION "include/")