Properly install header files.
This commit is contained in:
parent
1ca22e1aa4
commit
c5ffedb844
@ -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/")
|
||||
|
Loading…
Reference in New Issue
Block a user