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 @@ -25,7 +25,7 @@ option(ANALYZE_TYPE "Build with TypeSanitizer to detect aliasing issues"
2525option (WARNINGS_ARE_ERRORS "Treat warnings as errors" OFF )
2626if (WARNINGS_ARE_ERRORS)
2727 if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24" )
28- message (WARNING "WARNINGS_ARE_ERRORS is deprecated - please use CMAKE_COMPILE_WARNING_AS_ERROR instead" )
28+ message (DEPRECATION "WARNINGS_ARE_ERRORS is deprecated - please use CMAKE_COMPILE_WARNING_AS_ERROR instead" )
2929 endif ()
3030 set (CMAKE_COMPILE_WARNING_AS_ERROR On )
3131endif ()
@@ -58,9 +58,9 @@ if(BUILD_CORE_DLL AND NOT MSVC)
5858endif ()
5959# need to check before the option() specifying it or it will be defined
6060if (DEFINED BUILD_TESTS)
61- message (WARNING "BUILD_TESTS has been deprecated and will be removed in Cppcheck 2.22 - please use BUILD_TESTING instead" )
61+ message (DEPRECATION "BUILD_TESTS has been deprecated and will be removed in Cppcheck 2.22 - please use BUILD_TESTING instead" )
6262 if (DEFINED BUILD_TESTING)
63- message (WARNING "BUILD_TESTS and BUILD_TESTING have been defined at the same time - ignoring BUILD_TESTS" )
63+ message (AUTHOR_WARNING "BUILD_TESTS and BUILD_TESTING have been defined at the same time - ignoring BUILD_TESTS" )
6464 else ()
6565 set (BUILD_TESTING "${BUILD_TESTS} " )
6666 endif ()
You can’t perform that action at this time.
0 commit comments