diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b8362a52b6f52ec052b03d91913a543b86031bd4..b38d0436bd25ca0eb7639dbf5990defab701b8bd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -113,6 +113,7 @@ INCLUDE_DIRECTORIES(.) # include spdlog (logging) third_party INCLUDE_DIRECTORIES(../third_party/spdlog/include) +set(SPDLOG_INCLUDE_DIRS "../third_party/spdlog/include/") INCLUDE_DIRECTORIES(${EIGEN_INCLUDE_DIRS}) @@ -474,6 +475,8 @@ DESTINATION include/iri-algorithms/wolf/internal) INSTALL(FILES "${CMAKE_BINARY_DIR}/wolfConfig.cmake" DESTINATION "lib/cmake/${PROJECT_NAME}") +INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/") + export(PACKAGE ${PROJECT_NAME}) IF(BUILD_EXAMPLES)