mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-13 07:34:52 +03:00
9143ddd0ad
Extracted and adjusted from packaging.diff by @jnweiger and @dschmidt
23 lines
614 B
CMake
23 lines
614 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()
|
|
endif()
|