Skip to content

Commit

Permalink
Fix ASAN build
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Dec 16, 2024
1 parent 896abd8 commit e1743a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ if(BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

if(ASAN AND !MSVC)
if(ASAN AND NOT MSVC)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
endif()
Expand Down

0 comments on commit e1743a3

Please sign in to comment.