diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-08-10 19:19:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 19:19:26 (GMT) |
commit | f04312a792d1a1b0f267ecb063e2cc7d8f29ee9a (patch) | |
tree | 6424ce1fdcf6c5b7dc829e7b5729a06f15794e99 /config | |
parent | 4c73c284e08682d382da750ddf2cd348d20f9e85 (diff) | |
download | hdf5-f04312a792d1a1b0f267ecb063e2cc7d8f29ee9a.zip hdf5-f04312a792d1a1b0f267ecb063e2cc7d8f29ee9a.tar.gz hdf5-f04312a792d1a1b0f267ecb063e2cc7d8f29ee9a.tar.bz2 |
Fix bug in cppcheck in tool.cmake (#1988)
Ref: https://github.com/HDFGroup/hdf5/pull/1985#issuecomment-1211046328
Diffstat (limited to 'config')
-rw-r--r-- | config/sanitizer/tools.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sanitizer/tools.cmake b/config/sanitizer/tools.cmake index 242e33f..3a41ad4 100644 --- a/config/sanitizer/tools.cmake +++ b/config/sanitizer/tools.cmake @@ -90,7 +90,7 @@ find_program(CPPCHECK_EXE NAMES "cppcheck") mark_as_advanced(FORCE CPPCHECK_EXE) if(CPPCHECK_EXE) message(STATUS "cppcheck found: ${CPPCHECK_EXE}") - if(CPPECHECK) + if(CPPCHECK) set(CMAKE_CXX_CPPCHECK "${CPPCHECK_EXE};--enable=warning,performance,portability,missingInclude;--template=\"[{severity}][{id}] {message} {callstack} \(On {file}:{line}\)\";--suppress=missingIncludeSystem;--quiet;--verbose;--force" ) |