diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-08-20 21:24:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 21:24:01 (GMT) |
commit | 5df0118051f9d06799d2ca1172399e5067989b0e (patch) | |
tree | d1bf917a0007b2c416e5e04609fbf1721ba3685b /config/sanitizer | |
parent | 8dca25eaa5de660fc8d7bd650d412f89107cbc7f (diff) | |
download | hdf5-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.cmake | 2 |
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) |