12 lines
530 B
Diff
12 lines
530 B
Diff
--- a/CMakeLists.txt 2024-07-03 17:05:32.761834538 +0200
|
|
+++ - 2024-07-03 17:06:11.527232818 +0200
|
|
@@ -115,7 +115,7 @@
|
|
endif()
|
|
|
|
include(CMakePackageConfigHelpers)
|
|
-set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake")
|
|
+set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/")
|
|
configure_package_config_file("${PROJECT_NAME}Config.cmake.in" "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
|
|
INSTALL_DESTINATION "${CMAKE_MODULES_INSTALL_DIR}"
|
|
NO_SET_AND_CHECK_MACRO
|