Call cmake_minimum_required as first thing, as recommended
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.