CMake: Fix typo in SANITIZE codepath

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-15 17:55:34 +02:00
1 parent 3837e101e2
commit 2355327c21
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ elseif (UNIX)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -gz -fno-builtin")
if (SANITIZE)
message(STATUS "sanitize is ON")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLanAGS} -fsanitize=undefined,thread")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined,thread")
endif (SANITIZE)
endif ()