We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029fbb0 commit b55f461Copy full SHA for b55f461
1 file changed
CMakeLists.txt
@@ -103,7 +103,7 @@ if(CPPCHECK)
103
# cpp doesn't find system includes for some reason, suppress that report
104
set(CPPCHECK_OPTIONS ${CPPCHECK_OPTIONS} --suppress=missingIncludeSystem)
105
106
- add_custom_target(cppcheck ${CPPCHECK} --std=c++17 ${CPPCHECK_OPTIONS} ${CMAKE_SOURCE_DIR}/src/*pp)
+ add_custom_target(cppcheck ${CPPCHECK} --std=c++${USE_CPP_VERSION} ${CPPCHECK_OPTIONS} ${CMAKE_SOURCE_DIR}/src/*pp)
107
else()
108
message(STATUS "Looking for cppcheck - not found")
109
message(STATUS " Build target 'cppcheck' will not be available")
0 commit comments