Skip to content

Call cmake_minimum_required as first thing, as recommended

Friedrich W. H. Kossebau requested to merge work/kossebau/firstmincmake into master

Will also ensure CMP0048 being NEW.

Compare

Note: Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command.

from https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#command:cmake_minimum_required

Merge request reports