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.
if (TARGET x)
1 parent 0c8b2bd commit 50d39c7Copy full SHA for 50d39c7
1 file changed
CMakeLists.txt
@@ -47,7 +47,7 @@ if(LIBXML2_XMLLINT_EXECUTABLE)
47
add_dependencies(validatePlatforms validatePlatforms-${platformname})
48
endforeach()
49
50
- if (BUILD_CLI)
+ if(TARGET cppcheck)
51
add_custom_target(errorlist-xml $<TARGET_FILE:cppcheck> --errorlist > ${CMAKE_BINARY_DIR}/errorlist.xml
52
DEPENDS cppcheck)
53
0 commit comments