mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Merge pull request #3093 from nicolasfella/dolphin2
[shellintegration] Simplify cmake code
This commit is contained in:
commit
478ca784b1
1 changed files with 2 additions and 4 deletions
|
@ -11,10 +11,8 @@ if( UNIX AND NOT APPLE )
|
|||
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)
|
||||
find_package(KF5KIO "5.16")
|
||||
if(KF5KIO_FOUND)
|
||||
add_subdirectory(dolphin)
|
||||
else()
|
||||
message("Dolphin plugin disabled: KDE Frameworks 5.16 not found")
|
||||
|
|
Loading…
Reference in a new issue