Re-introduce -DHAVE_BOOST to cppcheck builds
A regression introduced in cppcheck 2.15.0 has been fixed in 2.16.0
This commit is contained in:
@@ -149,9 +149,13 @@ fi
|
|||||||
# Cppcheck 2.8 added optional support for utilizing Boost
|
# Cppcheck 2.8 added optional support for utilizing Boost
|
||||||
make_args="$make_args CPPFLAGS=-DHAVE_BOOST"
|
make_args="$make_args CPPFLAGS=-DHAVE_BOOST"
|
||||||
;;
|
;;
|
||||||
2.*)
|
2.15.*)
|
||||||
# Cppcheck 2.15 doesn't seem to define FILESDIR if CPPFLAGS is set
|
# 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
|
esac
|
||||||
|
|
||||||
# Use all available CPUs
|
# Use all available CPUs
|
||||||
|
|||||||
Reference in New Issue
Block a user