Merge pull request #3314 from matt335672/v0_10_cppcheck_add_have_boost

[V0.10] Re-introduce -DHAVE_BOOST to cppcheck builds
This commit is contained in:
matt335672 2024-11-15 15:50:57 +00:00 committed by GitHub
commit b866c50d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,9 +149,13 @@ fi
# Cppcheck 2.8 added optional support for utilizing Boost
make_args="$make_args CPPFLAGS=-DHAVE_BOOST"
;;
2.*)
2.15.*)
# Cppcheck 2.15 doesn't seem to define FILESDIR if CPPFLAGS is set
;;
2.*)
# Cppcheck 2.16 (and later) fixes the HAVE_BOOST issue
make_args="$make_args CPPFLAGS=-DHAVE_BOOST"
;;
esac
# Use all available CPUs