Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 996d5e38 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Use FindSasl2 from ECM if available.

parent 58f941b2
......@@ -8,7 +8,12 @@ option(RUN_UNINSTALL "test run uninstalled apps (experimental)" FALSE)
set(KF5_VERSION "5.39.0")
find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${KSMTP_SOURCE_DIR}/cmake)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
# TODO: Remove the cmake directory when we'll require ECM >= 5.41.0
if("${ECM_VERSION}" VERSION_LESS "5.41.0")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${KSMTP_SOURCE_DIR}/cmake)
endif()
include(GenerateExportHeader)
include(ECMGenerateHeaders)
......
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