summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeLists.txt8
-rw-r--r--Modules/Platform/CMakeLists.txt2
2 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeLists.txt b/Modules/CMakeLists.txt
index c215833..178acba 100644
--- a/Modules/CMakeLists.txt
+++ b/Modules/CMakeLists.txt
@@ -1,7 +1,7 @@
# just install the modules
SUBDIRS(Platform)
-INSTALL_FILES(/share/CMake/Modules .*\\.cmake$)
-INSTALL_FILES(/share/CMake/Modules .*\\.cxx$)
-INSTALL_FILES(/share/CMake/Modules .*\\.in$)
-INSTALL_FILES(/share/CMake/Modules .*\\.c$)
+INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.cmake$)
+INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.cxx$)
+INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.in$)
+INSTALL_FILES(${CMAKE_DATA_DIR}/Modules .*\\.c$)
diff --git a/Modules/Platform/CMakeLists.txt b/Modules/Platform/CMakeLists.txt
index 69f0b74..1054eb5 100644
--- a/Modules/Platform/CMakeLists.txt
+++ b/Modules/Platform/CMakeLists.txt
@@ -1,2 +1,2 @@
# just install the modules
-INSTALL_FILES(/share/CMake/Modules/Platform .*\\.cmake$)
+INSTALL_FILES(${CMAKE_DATA_DIR}/Modules/Platform .*\\.cmake$)