mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Fixed CMAKE_CXX_FLAGS being treated as a list when SFML_ENABLE_SANITIZERS is enabled.
This commit is contained in:
parent
7ec3760fe8
commit
88e9d4c0b3
@ -201,7 +201,7 @@ endif()
|
||||
|
||||
option(SFML_ENABLE_SANITIZERS "Enable sanitizers" OFF)
|
||||
if(SFML_ENABLE_SANITIZERS)
|
||||
list(APPEND CMAKE_CXX_FLAGS "-fno-omit-frame-pointer -fno-sanitize-recover=all -fsanitize=undefined")
|
||||
string(APPEND CMAKE_CXX_FLAGS " -fno-omit-frame-pointer -fno-sanitize-recover=all -fsanitize=undefined")
|
||||
endif()
|
||||
|
||||
# set the output directory for SFML DLLs and executables
|
||||
|
Loading…
Reference in New Issue
Block a user