Just executing cmake likes this:
Will give this error:
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
It can be fixed by executing cmake like this:
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
But it probably should be fixed somewhere in CMakeLists.txt.
Just executing cmake likes this:
Will give this error:
It can be fixed by executing cmake like this:
But it probably should be fixed somewhere in CMakeLists.txt.