summaryrefslogtreecommitdiffstats
path: root/config/sanitizer/sanitizers.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-17 22:37:48 (GMT)
committerGitHub <noreply@github.com>2023-02-17 22:37:48 (GMT)
commit79ed1cc15f0926a577bd8da96fc551dfea5e8c40 (patch)
tree2c06ea4d335ff8cb7e7552f1ef12675518bf172d /config/sanitizer/sanitizers.cmake
parent593484fa0ee30e42a7b735e6a08744b736885d11 (diff)
downloadhdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.zip
hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.gz
hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.bz2
Merge toolchain lowercase names and updates #2426 (#2468)
Diffstat (limited to 'config/sanitizer/sanitizers.cmake')
-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 b06992f..4ba043b 100644
--- a/config/sanitizer/sanitizers.cmake
+++ b/config/sanitizer/sanitizers.cmake
@@ -30,7 +30,7 @@ endfunction()
message(STATUS "USE_SANITIZER=${USE_SANITIZER}, CMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}")
if(USE_SANITIZER)
- if(INTEL_CLANG OR CMAKE_C_COMPILER_ID MATCHES "[Cc]lang")
+ if(CMAKE_C_COMPILER_ID MATCHES "IntelLLVM" OR CMAKE_C_COMPILER_ID MATCHES "[Cc]lang")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if(UNIX)