File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ macro(enable_cppcheck CPPCHECK_OPTIONS)
42
42
set (CMAKE_CXX_CPPCHECK ${CMAKE_CXX_CPPCHECK} --std=c++${CMAKE_CXX_STANDARD} )
43
43
else ()
44
44
message (
45
- ${WARNING_MESSAGE}
45
+ STATUS
46
46
"cppcheck doesn't support specified C++ standard ${CMAKE_CXX_STANDARD} . Using the cppcheck default C++ standard version."
47
47
)
48
48
endif ()
@@ -54,8 +54,8 @@ macro(enable_cppcheck CPPCHECK_OPTIONS)
54
54
elseif (CMAKE_C_STANDARD MATCHES [[99|11]] )
55
55
set (CMAKE_C_CPPCHECK ${CMAKE_C_CPPCHECK} --std=c${CMAKE_C_STANDARD} )
56
56
else ()
57
- message (${WARNING_MESSAGE}
58
- "cppcheck doesn't support C ${CMAKE_C_STANDARD} standard. Using the cppcheck default"
57
+ message (STATUS
58
+ "cppcheck doesn't support C ${CMAKE_C_STANDARD} standard. Using the cppcheck default C standard version "
59
59
)
60
60
endif ()
61
61
endif ()
You can’t perform that action at this time.
0 commit comments