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>2020-02-13 19:16:28 +0300
committerHannah von Reth <vonreth@kde.org>2020-02-19 19:44:52 +0300
commit86c376d2116f9cbe261f98f5085ef28f01399a34 (patch)
treed1619a403e08ec7f234eea631354e5f854dd0405 /CMakeLists.txt
parent6569e1c676e3f84ea7fea086262da981e8187c8b (diff)
[CMake] Directly install sync-exclude.lst on Windows to the correct directory
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 006a8fb22..270481578 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -183,7 +183,11 @@ if(APPLE)
list(APPEND OWNCLOUD_BUNDLED_RESOURCES "${CMAKE_CURRENT_SOURCE_DIR}/sync-exclude.lst")
elseif(BUILD_CLIENT)
configure_file(sync-exclude.lst bin/sync-exclude.lst COPYONLY)
- install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )
+ if(WIN32)
+ install(FILES sync-exclude.lst DESTINATION bin)
+ else()
+ install(FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME})
+ endif()
endif()
if(BUILD_CLIENT)