mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
vfs: Add check for presence of win plugin
This commit is contained in:
parent
4bef96afe7
commit
f074c1a07b
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
### TODO: Find plugins dynamically
|
|
||||||
list(APPEND vfsPlugins "suffix")
|
list(APPEND vfsPlugins "suffix")
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/win")
|
||||||
|
list(APPEND vfsPlugins "win")
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(vfsPlugin ${vfsPlugins})
|
foreach(vfsPlugin ${vfsPlugins})
|
||||||
message(STATUS "Add vfsPlugin in dir: ${vfsPlugin}")
|
message(STATUS "Add vfsPlugin in dir: ${vfsPlugin}")
|
||||||
|
|
Loading…
Reference in a new issue