diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-02-13 19:16:28 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-02-19 19:44:52 +0300 |
commit | 86c376d2116f9cbe261f98f5085ef28f01399a34 (patch) | |
tree | d1619a403e08ec7f234eea631354e5f854dd0405 /CMakeLists.txt | |
parent | 6569e1c676e3f84ea7fea086262da981e8187c8b (diff) |
[CMake] Directly install sync-exclude.lst on Windows to the correct directory
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
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) |