From fa7ecfbfe078132e746c51e7952b5978b4ab3a88 Mon Sep 17 00:00:00 2001 From: Ariane van der Steldt Date: Sun, 18 Mar 2018 14:32:07 +0000 Subject: [PATCH] Fix install dir for cmake files. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ec634e..a67a123 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,10 +54,10 @@ target_include_directories(monsoon_cache INTERFACE install(FILES ${headers} DESTINATION "include/monsoon/cache") install(TARGETS monsoon_cache EXPORT monsoon_cache DESTINATION "lib") -install(EXPORT monsoon_cache DESTINATION "lib/cmake/monsoon-cache") +install(EXPORT monsoon_cache DESTINATION "lib/cmake/monsoon_cache") configure_file(monsoon_cache-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/monsoon_cache-config-version.cmake @ONLY) -install(FILES monsoon_cache-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/monsoon_cache-config-version.cmake DESTINATION "lib/cmake/monsoon-cache") +install(FILES monsoon_cache-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/monsoon_cache-config-version.cmake DESTINATION "lib/cmake/monsoon_cache") add_subdirectory(test)