Commit ecdc2558 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux
Browse files

Fix the CMake module search order

Local modules shall be preferred over the ones installed by ECM.
This will fix building kio-extras 20.04 with ECM >= 5.72.
parent 6e4578e8
......@@ -24,7 +24,7 @@ if (NOT Qt5Test_FOUND)
endif()
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Archive
......
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