Commit f7c48ade authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Look for Sasl2 just after ECM.

This ensures we use the right module.
parent 5f4fe8b0
......@@ -43,6 +43,10 @@ set(KIMAP_LIB_VERSION "5.6.80")
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
# Look for Sasl2 before anything else
find_package(Sasl2)
set_package_properties(Sasl2 PROPERTIES TYPE REQUIRED)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets PrintSupport WebEngine WebEngineWidgets)
find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DocTools ${KF5_VERSION} CONFIG REQUIRED)
......@@ -60,9 +64,6 @@ find_package(KF5MailTransport ${KMAILTRANSPORT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5IMAP ${KIMAP_LIB_VERSION} CONFIG REQUIRED)
find_package(Sasl2)
set_package_properties(Sasl2 PROPERTIES TYPE REQUIRED)
ecm_setup_version(PROJECT VARIABLE_PREFIX LIBKSIEVE
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/libksieve_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5LibKSieveConfigVersion.cmake"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment