diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7530fb07a..34cd410a5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -96,4 +96,4 @@ add_subdirectory(var_monitor) add_subdirectory(config) ### Create CMake importable exports -install(EXPORT variorum DESTINATION lib/cmake) +install(EXPORT variorum DESTINATION lib/cmake/Variorum) diff --git a/src/config/CMakeLists.txt b/src/config/CMakeLists.txt index aaeac35bd..cce1bede4 100644 --- a/src/config/CMakeLists.txt +++ b/src/config/CMakeLists.txt @@ -42,7 +42,7 @@ if (NOT DEFINED VARIORUM_INSTALL_SHARED_RESOURCES_DIR) endif() if (NOT DEFINED VARIORUM_INSTALL_CMAKE_MODULE_DIR) - set(VARIORUM_INSTALL_CMAKE_MODULE_DIR "${VARIORUM_INSTALL_CONFIG_DIR}/cmake") + set(VARIORUM_INSTALL_CMAKE_MODULE_DIR "${VARIORUM_INSTALL_CONFIG_DIR}/cmake/Variorum") endif() include(CMakePackageConfigHelpers)