Skip to content

Commit

Permalink
Merge pull request #266 from ddassie-texa/feature/mscv-address-sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jun 17, 2024
2 parents 46081b2 + f9c05c1 commit 7394018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sanitizers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function(
elseif(MSVC)
# or it is MSVC and has run vcvarsall
string(FIND "$ENV{PATH}" "$ENV{VSINSTALLDIR}" index_of_vs_install_dir)
if("${index_of_vs_install_dir}" STREQUAL "-1")
if(NOT "${index_of_vs_install_dir}" STREQUAL "-1")
list(APPEND SANITIZERS "address")
endif()
endif()
Expand Down

0 comments on commit 7394018

Please sign in to comment.