Skip to content

cmake: restructure code so FeatureSummary gets to print its dependencies report

George Florea Bănuș requested to merge work/gfb/cmake into master

The FeatureSummary module is supposed to print a report of the dependencies,

but currently cmake errors out before FeatureSummary gets to print anything.

before after

Sometimes some warnings

[cmake] CMake Warning at CMakeLists.txt:132 (find_package):
[cmake]   By not providing "FindKF6WindowSystem.cmake" in CMAKE_MODULE_PATH this
[cmake]   project has asked CMake to find a package configuration file provided by
[cmake]   "KF6WindowSystem", but CMake did not find one.
...

are printed after the FeatureSummary report.

Merge request reports