Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-introduce -DHAVE_BOOST to cppcheck builds #3312

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/install_cppcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down