mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
38b59a82bf
Now if KF6 KIO is present, we build the Dolphin plugin against the Qt6 version of everything. Otherwise we keep assuming the Qt5 version of the platform. Signed-off-by: Kevin Ottens <ervin@kde.org>
30 lines
653 B
CMake
30 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(KF5KIO "5.16" CONFIG QUIET)
|
|
find_package(KF6KIO "5.240" CONFIG QUIET)
|
|
if(KF5KIO_FOUND OR KF6KIO_FOUND)
|
|
add_subdirectory(dolphin)
|
|
else()
|
|
message("Dolphin plugin disabled: KDE Frameworks 5 and 6 not found")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|
|
if(CLOUDPROVIDERS_FOUND)
|
|
add_subdirectory(libcloudproviders)
|
|
endif()
|
|
|
|
if(MSVC)
|
|
add_subdirectory(windows)
|
|
endif()
|