summaryrefslogtreecommitdiffstats
path: root/config/sanitizer
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-20 21:24:01 (GMT)
committerGitHub <noreply@github.com>2021-08-20 21:24:01 (GMT)
commit5df0118051f9d06799d2ca1172399e5067989b0e (patch)
treed1bf917a0007b2c416e5e04609fbf1721ba3685b /config/sanitizer
parent8dca25eaa5de660fc8d7bd650d412f89107cbc7f (diff)
downloadhdf5-5df0118051f9d06799d2ca1172399e5067989b0e.zip
hdf5-5df0118051f9d06799d2ca1172399e5067989b0e.tar.gz
hdf5-5df0118051f9d06799d2ca1172399e5067989b0e.tar.bz2
1.10 Merge windows compiler fixes #912 (#915)
* Merge windows compiler fixes #912 * Merge changes to check for pwd.h header * Add missing define * Merge Remove incorrect compiler check for windows clang sanitizer #942
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)