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:
authorFabian Müller <fmueller@owncloud.com>2021-10-14 15:18:52 +0300
committerHannah von Reth <vonreth@kde.org>2021-10-15 11:42:25 +0300
commitcfa0554a18e3543951e51f0f0b2dc0ccf58a4e41 (patch)
treee5ed08430c908334c620257aef52e64d2178de6a /src/gui/libcloudproviders
parente8dc85a34961a6c98293c499d946600f8aee4c10 (diff)
Fix installation of libcloudproviders files
This commit fixes the installation of the INI file that belongs to libcloudproviders. I suppose the intention was to use CMake's GNUInstallDirs due to the variable name. The variable was unset, thus the file was installed to /cloud-providers instead of share/cloud-providers, causing the RPM builds to complain.
Diffstat (limited to 'src/gui/libcloudproviders')
-rw-r--r--src/gui/libcloudproviders/libcloudproviders.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/libcloudproviders/libcloudproviders.cmake b/src/gui/libcloudproviders/libcloudproviders.cmake
index cfb86b894..30e73dad5 100644
--- a/src/gui/libcloudproviders/libcloudproviders.cmake
+++ b/src/gui/libcloudproviders/libcloudproviders.cmake
@@ -32,7 +32,7 @@ if(WITH_LIBCLOUDPROVIDERS)
configure_file(libcloudproviders/cloud-provider.ini.in ${CMAKE_CURRENT_BINARY_DIR}/${APPLICATION_CLOUDPROVIDERS_DBUS_NAME}.ini)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPLICATION_CLOUDPROVIDERS_DBUS_NAME}.ini
- DESTINATION "${DATADIR}/cloud-providers")
+ DESTINATION "${DATA_INSTALL_DIR}/cloud-providers")
message("Building with libcloudproviders")
elseif(UNIX AND NOT APPLE)