Skip to content

build on mac need cmake compatibility option #184

@darjeeling

Description

@darjeeling

I tested on my mac build NGT, it need more options to build

so I think I can send doc update PR, how about it?

build testing environment

  • mac os 15.5 ( Sequoia )
  • cmake version 4.0.2 ( latest version at 2025-05-29 )
cmake ..
CMake Error at CMakeLists.txt:2 (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!

build compatibility options

cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5

build works well and tested working.

Metadata

Metadata

Assignees

No one assigned

    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