Minor cmake tweak

This commit is contained in:
Jack Andersen 2019-05-07 17:45:28 -10:00
parent b9de854400
commit 9bbd7af9f6
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ if(MSVC)
set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "-debug -incremental:no")
endif()
string(REPLACE "-stdlib=libc++ -fsanitize=memory -fsanitize-memory-track-origins" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
string(REPLACE "-stdlib=libc++ -fsanitize=address" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# Find dependencies
include(FindLLVM.cmake)