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.
This commit is contained in:
Christian Kamm 2018-12-18 11:28:25 +01:00 committed by Kevin Ottens
parent 75b9976526
commit 30294e0c9a
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View 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}")