diff --git a/CPackLists.txt b/CPackLists.txt index faeb9603..4b0dd9c0 100644 --- a/CPackLists.txt +++ b/CPackLists.txt @@ -33,11 +33,11 @@ SET(CPACK_PACKAGE_VENDOR "KjellKod") INSTALL( TARGETS g3logger EXPORT g3logger-targets - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT libraries INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - COMPONENT libraries) +) INSTALL( FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/g3log