Skip to content

test compile fails with new versions of cmake #550

@aaronvincent

Description

@aaronvincent

Test compilation fails on Mac OS with new versions of cmake & all gcc, clang versions.

-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Failed
-- Performing Test COMPILER_SUPPORTS_CXX1z
-- Performing Test COMPILER_SUPPORTS_CXX1z - Failed
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Failed
-- Performing Test COMPILER_SUPPORTS_CXX1y
-- Performing Test COMPILER_SUPPORTS_CXX1y - Failed
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Failed
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Failed
CMake Error at CMakeLists.txt:300 (message):
The compiler /opt/homebrew/bin/g++-15 has no C++11 support. Please use a
different C++ compiler.

(bypassing the tests only causes cmake to fail later in the process)

Workaround is to install an older version of cmake from e.g. https://cmake.org/files/. v3.27 still works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions