Commit b7e13da7 authored by Nicolas Fella's avatar Nicolas Fella Committed by Vlad Zahorodnii
Browse files

Merge two CMAKE_MODULE_PATH set calls

parent debea631
...@@ -6,8 +6,6 @@ project(KWin VERSION ${PROJECT_VERSION}) ...@@ -6,8 +6,6 @@ project(KWin VERSION ${PROJECT_VERSION})
set(QT_MIN_VERSION "5.15.0") set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.78") 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) find_package(ECM 5.38 REQUIRED NO_MODULE)
include(FeatureSummary) include(FeatureSummary)
...@@ -15,7 +13,7 @@ include(WriteBasicConfigVersionFile) ...@@ -15,7 +13,7 @@ include(WriteBasicConfigVersionFile)
include(GenerateExportHeader) include(GenerateExportHeader)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked # 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 find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
Concurrent Concurrent
......
Supports Markdown
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