aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2021-01-06 19:49:38 +0100
committerHeiko Becker <heirecka@exherbo.org>2021-01-06 19:57:35 +0100
commitb3e3bd7d6f6934257c17c486260ac4670373141c (patch)
treea5dec53f74a8210c9fbab72def309cb8bb373589
parent0966f4821b6e5460b62d9fe8be14066ed001c1c2 (diff)
downloadlibquotient-b3e3bd7d6f6934257c17c486260ac4670373141c.tar.gz
libquotient-b3e3bd7d6f6934257c17c486260ac4670373141c.zip
Use CMAKE_INSTALL_DATADIR instead of hard-coding share
Signed-off-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b46f1a7..ce2463bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -331,7 +331,7 @@ install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
DESTINATION ${ConfigFilesLocation}
)
-install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION share/ndk-modules)
+install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
if (WIN32)
install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages)