diff --git a/CMakeLists.txt b/CMakeLists.txt index bd561c21..1b8e2f98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,13 +98,15 @@ endif() # Add support for installation include(CMakePackageConfigHelpers) +# Install headers +install(DIRECTORY include/ruckig DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + # Install library install(TARGETS ruckig EXPORT ${PROJECT_NAME}-targets ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) # Install CMake config files