Skip to content

Commit

Permalink
Stop annoying mac build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn authored Nov 27, 2024
1 parent 66fa3ff commit a568e66
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 @@ -5,7 +5,7 @@ project(Darkflame
)

# Sanitizer flags - TODO: Make CMake preset before finalizing PR
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU" AND NOT APPLE)
add_compile_options("-fsanitize=undefined")
add_link_options("-fsanitize=undefined")

Expand Down

0 comments on commit a568e66

Please sign in to comment.