Skip to content

CMake Deprecation Warning #13

Description

@zuglufttier

Just executing cmake likes this:

cd build
cmake ..

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions