Unverified Commit 20b0908b 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 1aad3401
......@@ -12,7 +12,7 @@ set (QT_MIN_VERSION "5.10.0")
set (KF5_MIN_VERSION "5.56.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH "${ECM_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" "${ECM_MODULE_PATH}")
################## K3b version ################################
set(K3B_VERSION_STRING ${RELEASE_SERVICE_VERSION})
......
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