Skip to content

Commit b93df81

Browse files
committed
Re-enable disabling of asan vector options on MSVC
1 parent 4e4db62 commit b93df81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ dynamic_project_options(
113113

114114
target_compile_features(project_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD})
115115

116+
# We don't have any way of ensuring that all static dependencies are compiled with
117+
# address sanitizer enabled.
118+
target_compile_definitions(project_options INTERFACE _DISABLE_VECTOR_ANNOTATION)
119+
116120
# configure files based on CMake configuration options
117121
add_subdirectory(configured_files)
118122

0 commit comments

Comments
 (0)