Skip to content

Commit

Permalink
Attempt to disable ASAN for macOS/GCC builds
Browse files Browse the repository at this point in the history
They are failing in CI.

cpp-best-practices/cmake_template#92
  • Loading branch information
dabrahams committed Aug 5, 2024
1 parent 0a3f4c2 commit d7fb4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ macro(adobe_contract_checking_supports_sanitizers)
set(SUPPORTS_UBSAN OFF)
endif()

if((CMAKE_CXX_COMPILER_ID MATCHES ".*Clang.*" OR CMAKE_CXX_COMPILER_ID MATCHES ".*GNU.*") AND WIN32)
if(((CMAKE_CXX_COMPILER_ID MATCHES ".*Clang.*" OR CMAKE_CXX_COMPILER_ID MATCHES ".*GNU.*") AND WIN32) OR (CMAKE_CXX_COMPILER_ID MATCHES ".*GNU.*" AND APPLE))
set(SUPPORTS_ASAN OFF)
else()
set(SUPPORTS_ASAN ON)
Expand Down

0 comments on commit d7fb4db

Please sign in to comment.