Skip to content

CMake version 2.6 which is outdated. #2

@ashish-kus

Description

@ashish-kus

The project currently requires CMake version 2.6 which is outdated. Modern CMake versions (3.5+) have removed compatibility with versions < 3.5, resulting in the following error when building.

ERROR

mkdir -p build
cd build && \
cmake .. && \
make
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from 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.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
make: *** [Makefile:11: build] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions