Skip to content

Commit

Permalink
Merge pull request #3312 from matt335672/cppcheck_add_have_boost
Browse files Browse the repository at this point in the history
Re-introduce -DHAVE_BOOST to cppcheck builds
  • Loading branch information
matt335672 authored Nov 15, 2024
2 parents 595bda6 + 01c262a commit b40ace3
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 b40ace3

Please sign in to comment.