summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-03 08:59:43 +0100
committerMontel Laurent <[email protected]>2017-12-03 08:59:43 +0100
commit606f1b7b59735c15ff5295f2ee8df50648d7f477 (patch)
tree056f5c45b5219c50215a4c0aaeb9c3603cd58614
parent999bac0c064c600868af35852d2fe000aab09970 (diff)
Remove duplicate search
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e57b586..50d875a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,8 +13,6 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
set(KF5_VERSION "5.39.0")
-find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
-
set(MESSAGELIB_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.6.90")
@@ -41,6 +39,8 @@ set(AKONADI_CONTACT_VERSION "5.6.90")
if (${MIMETREEPARSER_ONLY_BUILD})
set(ECM_VERSION "5.26.0")
set(KMIME_LIB_VERSION "5.1.40")
+else()
+ set(ECM_VERSION ${KF5_VERSION})
endif()
find_package(ECM ${ECM_VERSION} CONFIG REQUIRED)