Skip to content

Commit

Permalink
using CMAKE_CXX_COMPILER_VERSION for apple clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Oct 18, 2023
1 parent 5961839 commit a73e60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()

set(BOOST_COBALT_SHOULD_USE_CONTAINER OFF)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CLANG_VERSION_MAJOR LESS 16)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION LESS 16)
set(BOOST_COBALT_SHOULD_USE_CONTAINER ON)
endif()

Expand Down

0 comments on commit a73e60a

Please sign in to comment.