mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
Fix bug in cppcheck in tool.cmake (#1988)
Ref: https://github.com/HDFGroup/hdf5/pull/1985#issuecomment-1211046328
This commit is contained in:
parent
4c73c284e0
commit
f04312a792
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user