Commit af36e0c7 authored by Emmanuel Milou's avatar Emmanuel Milou

#8763 Fix cppcheck to work with older versions

parent 184d6af0
......@@ -13,7 +13,7 @@ DOXYGEN=0
function run_code_analysis {
# Check if cppcheck is installed on the system
if [ `which cppcheck &>/dev/null ; echo $?` -ne 1 ] ; then
cppcheck . -ilibs/ --enable=all --xml 2> cppcheck-report.xml
cppcheck -I src/ . --enable=all --xml 2> cppcheck-report.xml
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment