We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
if (TARGET x)
1 parent 94dcfeb commit 4d35fa9Copy full SHA for 4d35fa9
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