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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Rojas <arojas@archlinux.org>2021-12-02 00:48:33 +0300
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>2021-12-28 11:07:04 +0300
commit9d4d11df61275d578a5ebb1478e0afcd1df96273 (patch)
tree21085c2ba2ea31957be96cd26b64db04fff59ed9
parent493da5f96488f1d2bbe546d6e271ade1390f6c85 (diff)
Unbreak loading translations
Commit 18ddb9df4a1af290805835d2376b80b984d61766 changed SHAREDIR to point to CMAKE_INSTALL_DATADIR, which is a relative path by default. This prevents the C++ code from finding the translations at runtime. Signed-off-by: Antonio Rojas <arojas@archlinux.org>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec65cd595..930e5a9e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,7 @@ endif()
message(STATUS "GIT_SHA1 ${GIT_SHA1}")
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
-set(SHAREDIR ${CMAKE_INSTALL_DATADIR})
+set(SHAREDIR ${CMAKE_INSTALL_FULL_DATADIR})
# Build MacOS app bundle if wished
if(APPLE AND BUILD_OWNCLOUD_OSX_BUNDLE)