From 89f82e8b1062e9f3c761bef98904c6c9a3a8f843 Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sun, 28 Jul 2019 12:28:55 +0800 Subject: [PATCH] Fix CMake interface include directories --- CPackLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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