disable asan for win
This commit is contained in:
@@ -13,15 +13,19 @@ add_compile_options(
|
|||||||
-Wextra
|
-Wextra
|
||||||
-O0
|
-O0
|
||||||
-g3
|
-g3
|
||||||
-fsanitize=address
|
|
||||||
-fsanitize=undefined
|
|
||||||
-fno-omit-frame-pointer
|
-fno-omit-frame-pointer
|
||||||
)
|
)
|
||||||
|
|
||||||
add_link_options(
|
if (UNIX)
|
||||||
-fsanitize=address
|
add_compile_options(
|
||||||
-fsanitize=undefined
|
-fsanitize=address
|
||||||
)
|
-fsanitize=undefined
|
||||||
|
)
|
||||||
|
add_link_options(
|
||||||
|
-fsanitize=address
|
||||||
|
-fsanitize=undefined
|
||||||
|
)
|
||||||
|
endif ()
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
googletest
|
googletest
|
||||||
|
|||||||
Reference in New Issue
Block a user