Properly install header files.

This commit is contained in:
Nicolás Ortega Froysa 2018-09-02 12:08:50 +02:00
parent 1ca22e1aa4
commit c5ffedb844
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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/")