Skip to content

Commit

Permalink
[ci] macOS Intel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Oct 25, 2024
1 parent e556c15 commit df5ff4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/ScoreConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if(("${CMAKE_CXX_COMPILER_VERSION}" MATCHES "^18.*") AND LLVM_LIBCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
elseif(APPLE)
if(NOT x86_64 IN_LIST CMAKE_OSX_ARCHITECTURES)
# In XCode 15.2 / macos-13 it causes an error in <chrono> due to
# including <to_chars> only available from macos 13.3
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
endif()
endif()
endif()

Expand Down

0 comments on commit df5ff4a

Please sign in to comment.