diff options
Diffstat (limited to 'Library/Formula/cppcheck.rb')
| -rw-r--r-- | Library/Formula/cppcheck.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/cppcheck.rb b/Library/Formula/cppcheck.rb index c72a5192e..be552c01a 100644 --- a/Library/Formula/cppcheck.rb +++ b/Library/Formula/cppcheck.rb @@ -28,6 +28,10 @@ class Cppcheck < Formula if build.with? "gui" cd "gui" do + # fix make not finding cfg directory: + # https://github.com/Homebrew/homebrew/issues/27756 + inreplace "gui.qrc", "../cfg/", "#{prefix}/cfg/" + if build.include? 'no-rules' system "qmake", "HAVE_RULES=no" else |
