mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-04-26 16:46:31 +00:00
Merge branch 'ub-fixes' of https://github.com/DarkflameUniverse/DarkflameServer into ub-fixes
This commit is contained in:
commit
c05c2543a9
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user