Skip to content

Commit e959aca

Browse files
committed
MSVC bug.
1 parent 0704858 commit e959aca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ endif()
4848
# Debug
4949
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
5050
if(WIN32)
51-
# add_compile_options(/fsanitize=address)
51+
add_compile_options(/fsanitize=address)
52+
add_link_options(/fsanitize=address)
5253
else()
5354
add_compile_options(-fsanitize=address)
5455
add_compile_options(-fsanitize=undefined)

0 commit comments

Comments
 (0)