[neon/kde/kldap/Neon/unstable] debian/patches: another go
Carlos De Maine
null at kde.org
Sat Dec 23 03:33:26 GMT 2023
Git commit 9d71d3135c89d49ece7c44ef543285ab45b3130c by Carlos De Maine.
Committed on 23/12/2023 at 04:33.
Pushed by carlosdem into branch 'Neon/unstable'.
another go
M +8 -10 debian/patches/cmake_find_dependency_macro
https://invent.kde.org/neon/kde/kldap/-/commit/9d71d3135c89d49ece7c44ef543285ab45b3130c
diff --git a/debian/patches/cmake_find_dependency_macro b/debian/patches/cmake_find_dependency_macro
index 07eaf8f..cd629db 100644
--- a/debian/patches/cmake_find_dependency_macro
+++ b/debian/patches/cmake_find_dependency_macro
@@ -1,12 +1,10 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3c4098100d5af28988c54bac3820917af1141089..7ab0aa3f02dac8780912c91e2c4f6cbdae238d76 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -11,6 +11,7 @@ set(QT_REQUIRED_VERSION "6.5.0")
- find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED)
- +include(CMakeFindDependencyMacro)
- set(CMAKE_MODULE_PATH ${KLdap_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
-
- include(KDEInstallDirs)
- include(KDECMakeSettings)
- include(KDECompilerSettings NO_POLICY_SCOPE)
\ No newline at end of file
+# ECM setup
+set(KF_MIN_VERSION "5.246.0")
+set(QT_REQUIRED_VERSION "6.6.0")
+
+include(CMakeFindDependencyMacro)
+
+find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED)
+set(CMAKE_MODULE_PATH ${KLdap_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
More information about the Neon-commits
mailing list