summaryrefslogtreecommitdiffstats
path: root/config/sanitizer
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-21 01:45:49 (GMT)
committerGitHub <noreply@github.com>2021-08-21 01:45:49 (GMT)
commitd4a9a064cbcc11965cc67c79c1690a7f92c2e1cb (patch)
treef1cfacb1829225ae5104bb2e5f7de730e63424dc /config/sanitizer
parentbfde29127563374424a7d80a2a1f10de7626af19 (diff)
downloadhdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.zip
hdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.tar.gz
hdf5-d4a9a064cbcc11965cc67c79c1690a7f92c2e1cb.tar.bz2
Merge windows compiler fixes #912 (#948)
Diffstat (limited to 'config/sanitizer')
-rw-r--r--config/sanitizer/sanitizers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sanitizer/sanitizers.cmake b/config/sanitizer/sanitizers.cmake
index 22b9e3c..58c4050 100644
--- a/config/sanitizer/sanitizers.cmake
+++ b/config/sanitizer/sanitizers.cmake
@@ -80,7 +80,7 @@ if(USE_SANITIZER)
message(
FATAL_ERROR "Unsupported value of USE_SANITIZER: ${USE_SANITIZER}")
endif()
- elseif(MSVC AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 19.29)
+ elseif(MSVC)
if(USE_SANITIZER MATCHES "([Aa]ddress)")
message(STATUS "Building with Address sanitizer")
append("/fsanitize=address" CMAKE_C_SANITIZER_FLAGS CMAKE_CXX_SANITIZER_FLAGS)