Properly install header files.
This commit is contained in:
parent
1ca22e1aa4
commit
c5ffedb844
@ -42,7 +42,6 @@ set(SRCS
|
|||||||
"src/node.cpp")
|
"src/node.cpp")
|
||||||
|
|
||||||
set(HDRS
|
set(HDRS
|
||||||
"include/neocomm.hpp"
|
|
||||||
"include/neocomm/channel.hpp"
|
"include/neocomm/channel.hpp"
|
||||||
"include/neocomm/node.hpp")
|
"include/neocomm/node.hpp")
|
||||||
|
|
||||||
@ -78,7 +77,10 @@ set_target_properties(${TARGET_NAME}
|
|||||||
PROPERTIES PUBLIC_HEADER "${HDRS}")
|
PROPERTIES PUBLIC_HEADER "${HDRS}")
|
||||||
|
|
||||||
install(TARGETS ${TARGET_NAME}
|
install(TARGETS ${TARGET_NAME}
|
||||||
ARCHIVE DESTINATION lib/
|
ARCHIVE DESTINATION "lib/"
|
||||||
LIBRARY DESTINATION lib/
|
LIBRARY DESTINATION "lib/"
|
||||||
PUBLIC_HEADER DESTINATION include/
|
PUBLIC_HEADER DESTINATION "include/neocomm/"
|
||||||
CONFIGURATIONS release minsizerel)
|
CONFIGURATIONS release minsizerel)
|
||||||
|
|
||||||
|
install(FILES "include/neocomm.hpp"
|
||||||
|
DESTINATION "include/")
|
||||||
|
Loading…
Reference in New Issue
Block a user