Unverified Commit 3303552d authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix CMake module search

The local cmake modules should, in this case, be preferred compared to
the ones in ECM, or the build will not be probably configured,
causing includes not to be found, and thus ending up in failure.
parent 4813806d
Pipeline #24373 failed with stage
in 7 minutes and 3 seconds
......@@ -13,7 +13,7 @@ set(QT_MIN_VERSION "5.6.0")
set(KF5_MIN_VERSION "5.35.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${ECM_MODULE_PATH})
include(CMakePushCheckState)
include(CheckIncludeFileCXX)
......
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