specify PUBLIC_HEADER destination in bwclib target
avoids duplication of bwc.h in installation include/lib directories
This commit is contained in:
parent
8174f30743
commit
9d85a8c8e2
1 changed files with 3 additions and 2 deletions
|
@ -117,8 +117,9 @@ target_link_libraries(bwclib PRIVATE m)
|
|||
#*--------------------------------------------------------*#
|
||||
# Setup the install directories. #
|
||||
#*--------------------------------------------------------*#
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/include/library/public/bwc.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
install(TARGETS bwclib DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install( TARGETS bwclib
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
#*--------------------------------------------------------*#
|
||||
# Define the output name for the BigWhoop library. #
|
||||
|
|
Loading…
Reference in a new issue