Skip to content

Commit

Permalink
[ci] Force fexperimental-library in new xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Oct 24, 2024
1 parent fb60579 commit 175ba10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/ScoreConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ 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)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
endif()
endif()

Expand Down Expand Up @@ -141,6 +143,7 @@ if(has_w_dtor_name_flag)
endif()

check_cxx_compiler_flag(-std=c++23 has_std_23_flag)
check_cxx_compiler_flag(-std=c++2b has_std_2b_flag)
check_cxx_compiler_flag(-std=c++20 has_std_20_flag)
check_cxx_compiler_flag(-std=c++2a has_std_2a_flag)

Expand Down

0 comments on commit 175ba10

Please sign in to comment.