1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-17 07:42:46 +02:00
Nextcloud-Desktop/shell_integration/CMakeLists.txt
Nicolas Fella b8879dbf07 Only include libcloudproviders dir when cloudproviders is found
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-04-13 11:29:29 +00:00

30 lines
575 B
CMake

if (APPLE)
add_subdirectory(MacOSX)
endif()
if(BUILD_SHELL_INTEGRATION_ICONS)
add_subdirectory(icons)
endif()
if( UNIX AND NOT APPLE )
if(BUILD_SHELL_INTEGRATION_NAUTILUS)
add_subdirectory(nautilus)
endif()
if(BUILD_SHELL_INTEGRATION_DOLPHIN)
find_package(KF5KIO "5.16")
if(KF5KIO_FOUND)
add_subdirectory(dolphin)
else()
message("Dolphin plugin disabled: KDE Frameworks 5.16 not found")
endif()
endif()
endif()
if(CLOUDPROVIDERS_FOUND)
add_subdirectory(libcloudproviders)
endif()
if(MSVC)
add_subdirectory(windows)
endif()