Run cmake \
cmake \
-B build \
-S . \
-DCMAKE_CXX_STANDARD=26 \
-DCMAKE_TOOLCHAIN_FILE="infra/cmake/appleclang-toolchain.cmake" \
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="./infra/cmake/use-fetch-content.cmake" \
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
env:
CMAKE_GENERATOR: Ninja Multi-Config
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CXX_COMPILER_IMPORT_STD=
-- CMAKE_CXX_SCAN_FOR_MODULES=OFF
-- The C compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for __cpp_lib_ranges
CMake Error in /Users/runner/work/exemplar/exemplar/build/CMakeFiles/CMakeScratch/TryCompile-yjlwN2/CMakeLists.txt:
Target "cmTC_a6d96" requires the language dialect "CXX26" (with compiler
extensions). But the current compiler "AppleClang" does not support this,
or CMake does not know the flags to enable it.