Skip to content

Standalone mode CMP0177 requires newer cmake #410

@swanemar

Description

@swanemar

Hey,

Running -DSTANDALONE_MODE=ON seem to require CMP0177 policy from cmake introduced in v3.31. Current requirement is set to 3.23 in CMakeLists.txt

https://cmake.org/cmake/help/v3.31/policy/CMP0177.html

$cmake -B build -DSTANDALONE_MODE=ON
-- Detecting LTO
-- Detecting LTO - Supported
-- Detecting PIE/PIC
-- Detecting PIE/PIC - Supported
CMake Error at CMakeLists.txt:64 (cmake_policy):
  Policy "CMP0177" is not known to this version of CMake.

$cmake --version
cmake version 3.28.

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