aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-07 07:29:04 +0100
committerGitHub <noreply@github.com>2021-01-07 07:29:04 +0100
commit23f2bb6ca3c0c44fd8972902b4d9b5d6c23d52e7 (patch)
treea5dec53f74a8210c9fbab72def309cb8bb373589
parent0966f4821b6e5460b62d9fe8be14066ed001c1c2 (diff)
parentb3e3bd7d6f6934257c17c486260ac4670373141c (diff)
downloadlibquotient-23f2bb6ca3c0c44fd8972902b4d9b5d6c23d52e7.tar.gz
libquotient-23f2bb6ca3c0c44fd8972902b4d9b5d6c23d52e7.zip
Merge pull request #436 from heirecka/datadir-instead-hard-coding-share
Use CMAKE_INSTALL_DATADIR instead of hard-coding share
-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)