CMakeLists.txt: Call cmake_minimum_required() before project()
As warned starting with the cmake in fedora:37: cmake version 3.26.0-rc4
⬢[acme@toolbox build]$ cmake ..
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 file changed