Skip to content

Commit

Permalink
Merge pull request #3314 from matt335672/v0_10_cppcheck_add_have_boost
Browse files Browse the repository at this point in the history
[V0.10] Re-introduce -DHAVE_BOOST to cppcheck builds
  • Loading branch information
matt335672 authored Nov 15, 2024
2 parents fc290d7 + 2e407c7 commit b866c50
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit b866c50

Please sign in to comment.