Skip to content

Commit 3c2fcc2

Browse files
authored
Merge pull request #6 from StefanVK/fix_msvc_address_sanitizer_link
Fix msvc address sanitizer link
2 parents 789c685 + 7458048 commit 3c2fcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ target_compile_features(project_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD})
115115

116116
# We don't have any way of ensuring that all static dependencies are compiled with
117117
# address sanitizer enabled.
118-
target_compile_definitions(project_options INTERFACE _DISABLE_VECTOR_ANNOTATION)
118+
target_compile_definitions(project_options INTERFACE _DISABLE_VECTOR_ANNOTATION _DISABLE_STRING_ANNOTATION)
119119

120120
# configure files based on CMake configuration options
121121
add_subdirectory(configured_files)

0 commit comments

Comments
 (0)