Merge two CMAKE_MODULE_PATH set calls
This commit is contained in:
parent
debea631f3
commit
b7e13da70f
1 changed files with 1 additions and 3 deletions
|
@ -6,8 +6,6 @@ project(KWin VERSION ${PROJECT_VERSION})
|
|||
set(QT_MIN_VERSION "5.15.0")
|
||||
set(KF5_MIN_VERSION "5.78")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
|
||||
|
||||
find_package(ECM 5.38 REQUIRED NO_MODULE)
|
||||
|
||||
include(FeatureSummary)
|
||||
|
@ -15,7 +13,7 @@ include(WriteBasicConfigVersionFile)
|
|||
include(GenerateExportHeader)
|
||||
|
||||
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
|
||||
|
||||
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
Concurrent
|
||||
|
|
Loading…
Reference in a new issue