Fix CMake interface include directories (#321)

This commit is contained in:
myd7349 2019-07-29 05:55:57 +08:00 committed by Kjell Hedström
parent 376c417ad1
commit 5cb5371e0e

View File

@ -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