mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-21 13:14:30 +03:00
1cedb1919f
This commit integrates support for libcloudproviders desktop integration API. If build with the library it will check on startup if the DBus interface is available and then use it instead of the legacy status icon. Signed-off-by: Julius Härtl <jus@bitgrid.net>
25 lines
653 B
CMake
25 lines
653 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(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()
|
|
endif()
|
|
add_subdirectory(libcloudproviders)
|
|
endif()
|
|
|