diff options
| author | Grzegorz Dzięgielewski | 2014-10-08 11:09:17 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-08 23:36:25 +0100 |
| commit | 5d47ec0345057938bcc66e8839ca855d5bae9243 (patch) | |
| tree | 19d562f1f85ff3e3f95005a1a9f378afdb8f5f9c /Library/Formula | |
| parent | b193d68d4ef8db0652cd0b292ed2182ba937b931 (diff) | |
| download | homebrew-5d47ec0345057938bcc66e8839ca855d5bae9243.tar.bz2 | |
qt5: add --with-examples.
Closes #33020.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt5.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index ab1a41967..8d400e03a 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -35,6 +35,7 @@ class Qt5 < Formula option :universal option "with-docs", "Build documentation" + option "with-examples", "Build examples" option "developer", "Build and link with developer options" depends_on "pkg-config" => :build @@ -48,10 +49,11 @@ class Qt5 < Formula "-system-zlib", "-qt-libpng", "-qt-libjpeg", "-confirm-license", "-opensource", - "-nomake", "examples", "-nomake", "tests", "-release"] + args << "-nomake" << "examples" if build.without? "examples" + # https://bugreports.qt-project.org/browse/QTBUG-34382 args << "-no-xcb" |
