[pim/kleopatra] /: Remove superfluous if/else

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit fb454040cb8e334381f1666ef6497b86db7347c0 by Ingo Klöcker, on behalf of Ingo Klöcker.
Committed on 30/07/2026 at 08:43.
Pushed by kloecker into branch 'master'.

Remove superfluous if/else

M  +2    -8    CMakeLists.txt

https://invent.kde.org/pim/kleopatra/-/commit/fb454040cb8e334381f1666ef6497b86db7347c0

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3556e00fa..7cb00987f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,14 +61,8 @@ set(GPGME_REQUIRED_VERSION "2.0.0")
 set(LIBASSUAN_REQUIRED_VERSION "2.4.2")
 set(GPG_ERROR_REQUIRED_VERSION "1.47")
 
-if (WIN32)
-  set(KF6_WANT_VERSION ${KF_MIN_VERSION})
-  set(KMIME_WANT_VERSION ${KMIME_VERSION})
-else ()
-  set(KF6_WANT_VERSION ${KF_MIN_VERSION})
-  set(KMIME_WANT_VERSION ${KMIME_VERSION})
-endif ()
-
+set(KF6_WANT_VERSION ${KF_MIN_VERSION})
+set(KMIME_WANT_VERSION ${KMIME_VERSION})
 
 find_package(ECM ${KF6_WANT_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.