Vfs: Have a static list of potential plugins for now
authorChristian Kamm <mail@ckamm.de>
Tue, 18 Dec 2018 10:28:25 +0000 (11:28 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:28 +0000 (10:58 +0100)
Fixes in-source builds and other cases where more non-plugin directories
are created in src/libsync/vfs.

src/libsync/vfs/CMakeLists.txt

index ee1d1dbb49bb8179bcbfb0dc342bdd9891f8be07..306988f46fbe7c429151745af90ccebe5635fd3d 100644 (file)
@@ -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}")