Commit aa925d6c authored by David Faure's avatar David Faure

Fix "feature_summary not found" error when ECM isn't found

parent c114b5d8
Pipeline #7912 passed with stage
in 1 minute and 22 seconds
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
project(kdesrc-build) project(kdesrc-build)
include(FeatureSummary)
# Needed for the docs, but optional. If not found, we will simply # Needed for the docs, but optional. If not found, we will simply
# defer to native CMake handling. # defer to native CMake handling.
find_package(ECM 5.10.0 NO_MODULE QUIET) find_package(ECM 5.10.0 NO_MODULE QUIET)
...@@ -10,7 +12,6 @@ if (ECM_FOUND) ...@@ -10,7 +12,6 @@ if (ECM_FOUND)
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
include(FeatureSummary)
include(ECMOptionalAddSubdirectory) include(ECMOptionalAddSubdirectory)
find_package(KF5 5.10.0 COMPONENTS DocTools) find_package(KF5 5.10.0 COMPONENTS DocTools)
......
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