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:
authorMarkus Goetz <markus@woboq.com>2019-03-15 15:56:11 +0300
committerMarkus Goetz <markus@woboq.com>2019-03-16 15:53:48 +0300
commit626ea031ec7a09302338f823726d5bdeebc3d7d2 (patch)
treeb50baa734baafe5159c1c5513637e8f262bb30b9 /CMakeLists.txt
parentfc90adf469066747c10fcd5bb87595d158414b05 (diff)
macOS: Fix vfs suffix plugin paths #7090
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d136703d..bb19880db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,13 @@ if(WIN32)
set(DATADIR "share")
endif(WIN32)
set(SHAREDIR ${DATADIR})
-set(PLUGINDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${APPLICATION_SHORTNAME}/plugins" CACHE STRING "Extra path to look for Qt plugins like for VFS. May be relative to binary.")
+
+if (NOT APPLE)
+ set(PLUGINDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${APPLICATION_SHORTNAME}/plugins" CACHE STRING "Extra path to look for Qt plugins like for VFS. May be relative to binary.")
+else()
+ # Inside the .app bundle
+ set(PLUGINDIR "../PlugIns" CACHE STRING "Extra path to look for Qt plugins like for VFS. May be relative to binary.")
+endif()
#####
## handle BUILD_OWNCLOUD_OSX_BUNDLE