From: Christian Kamm Date: Tue, 18 Dec 2018 10:28:25 +0000 (+0100) Subject: Vfs: Have a static list of potential plugins for now X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~366 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=30294e0c9a80eff1e6ae0cd842461d406324e2e6;p=nextcloud-desktop.git Vfs: Have a static list of potential plugins for now Fixes in-source builds and other cases where more non-plugin directories are created in src/libsync/vfs. --- diff --git a/src/libsync/vfs/CMakeLists.txt b/src/libsync/vfs/CMakeLists.txt index ee1d1dbb4..306988f46 100644 --- a/src/libsync/vfs/CMakeLists.txt +++ b/src/libsync/vfs/CMakeLists.txt @@ -1,4 +1,8 @@ -file(GLOB vfsPlugins RELATIVE ${CMAKE_CURRENT_LIST_DIR} "*") +# Globbing for plugins has a problem with in-source builds +# that create directories for the build. +#file(GLOB vfsPlugins RELATIVE ${CMAKE_CURRENT_LIST_DIR} "*") + +SET(vfsPlugins "suffix;win") foreach(vfsPlugin ${vfsPlugins}) if(NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/${vfsPlugin}")