nextcloud-desktop/shell_integration/CMakeLists.txt

29 lines
698 B
Text
Raw Normal View History

2015-11-21 14:14:20 +03:00
if (APPLE)
add_subdirectory(MacOSX)
endif()
if(BUILD_SHELL_INTEGRATION_ICONS)
add_subdirectory(icons)
endif()
2014-08-04 20:58:35 +04:00
if( UNIX AND NOT APPLE )
if(BUILD_SHELL_INTEGRATION_NAUTILUS)
add_subdirectory(nautilus)
endif()
2014-08-04 20:58:35 +04:00
if(BUILD_SHELL_INTEGRATION_DOLPHIN)
find_package(ECM 1.2.0 NO_MODULE QUIET)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(KF5 "5.16" COMPONENTS KIO)
if(KF5_FOUND)
add_subdirectory(dolphin)
else()
message("Dolphin plugin disabled: KDE Frameworks 5.16 not found")
endif()
2015-11-21 14:14:20 +03:00
endif()
add_subdirectory(libcloudproviders)
2015-11-21 14:14:20 +03:00
endif()
if(MSVC)
add_subdirectory(windows)
endif()