Skip to content

Build fails with Compatibility with CMake < 3.5 has been removed from CMake #303

@parthea

Description

@parthea

This issue is to track the fix for the following issue which appears in #288

+ cd /Volumes/BuildData/tmpfs/src/github/python-crc32c/google_crc32c
+ mkdir -p build
+ cd build
+ ls
+ /Volumes/BuildData/tmpfs/src/github/python-crc32c/venv_build_libcrc32c/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 '-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64' -DCRC32C_BUILD_TESTS=no -DCRC32C_BUILD_BENCHMARKS=no -DBUILD_SHARED_LIBS=yes -DCMAKE_INSTALL_PREFIX:PATH=/Volumes/BuildData/tmpfs/src/github/python-crc32c/usr -DCMAKE_INSTALL_NAME_DIR:PATH=/Volumes/BuildData/tmpfs/src/github/python-crc32c/usr/lib ..
CMake Error at CMakeLists.txt:5 (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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions