Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-06-02 12:19:43 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-02 13:40:18 +0300
commite8ddd54e03617452950b47ff684eee1fa74a0228 (patch)
tree8b4b120b163c6283fd043a67d4e14a2b68568ec0 /shell_integration
parent4765998c6c7f9eea0bd10907caa98d564ac49d74 (diff)
Cleanup the data location handling
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/icons/CMakeLists.txt2
-rw-r--r--shell_integration/nautilus/CMakeLists.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/shell_integration/icons/CMakeLists.txt b/shell_integration/icons/CMakeLists.txt
index 04235c55b..86f66da5c 100644
--- a/shell_integration/icons/CMakeLists.txt
+++ b/shell_integration/icons/CMakeLists.txt
@@ -1,6 +1,6 @@
if( UNIX AND NOT APPLE )
- SET(ICON_DIR ${DATADIR}/icons/hicolor)
+ SET(ICON_DIR ${DATA_INSTALL_DIR}/icons/hicolor)
FOREACH(size 128x128 16x16 256x256 32x32 48x48 64x64 72x72)
file(GLOB files "${size}/*.png")
diff --git a/shell_integration/nautilus/CMakeLists.txt b/shell_integration/nautilus/CMakeLists.txt
index d8f75d8a5..3d9a7f6d1 100644
--- a/shell_integration/nautilus/CMakeLists.txt
+++ b/shell_integration/nautilus/CMakeLists.txt
@@ -25,9 +25,9 @@ if( UNIX AND NOT APPLE )
ERROR_VARIABLE errors OUTPUT_VARIABLE out)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate.py DESTINATION ${DATADIR}/nautilus-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_nemo.py DESTINATION ${DATADIR}/nemo-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_caja.py DESTINATION ${DATADIR}/caja-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate.py DESTINATION ${DATA_INSTALL_DIR}/nautilus-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_nemo.py DESTINATION ${DATA_INSTALL_DIR}/nemo-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_caja.py DESTINATION ${DATA_INSTALL_DIR}/caja-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)