Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Fella <nicolas.fella@gmx.de>2021-04-12 18:38:11 +0300
committerNicolas Fella (Rebase PR Action) <nicolasfella@users.noreply.github.com>2021-04-13 14:22:19 +0300
commitdf3ebb11f6bba16e6a6e5f14094f655880a49ca5 (patch)
treeccd44b4d198db2fa458971690a76947fd5a73a1b /shell_integration
parente2ad4072593d327eb46279a958e9679b197e57d3 (diff)
[shellintegration] Simplify cmake code
We don't need ECM to check for KIO Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell_integration/CMakeLists.txt b/shell_integration/CMakeLists.txt
index b53f19cd5..49860ad1e 100644
--- a/shell_integration/CMakeLists.txt
+++ b/shell_integration/CMakeLists.txt
@@ -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")