diff options
| author | Dominyk Tiller | 2015-01-02 12:19:18 +0000 |
|---|---|---|
| committer | Jack Nagel | 2015-01-03 21:47:41 -0500 |
| commit | 3321bba77e6a0f81f73116d5e112d18c63319fe8 (patch) | |
| tree | 09b95e110efe4964bc3ed5836ba04e8afeb7ea6c /Library/Formula | |
| parent | f70b78d381ce0549b38f5ef62c786fb33a2c1242 (diff) | |
| download | homebrew-3321bba77e6a0f81f73116d5e112d18c63319fe8.tar.bz2 | |
cmake: remove gui option
The GUI option is potentially a cause of future headaches and bugs, see
Per Mike’s proposal, which I agree with, we could ditch it and move
back to supporting the CLI tools only, and nudge people towards using
the Cask for the app. The Cask very kindly merged my PR to create `
CMake.app ` this morning in
https://github.com/caskroom/homebrew-cask/commit/3db9c980adc2be2a7d6b161
a95cc8c24a6d82fca so ` brew cask install cmake ` will now result in
that.
Closes #35463.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmake.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index 362f32ef1..32c7f88d8 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -34,7 +34,10 @@ class Cmake < Formula option "without-docs", "Don't build man pages" depends_on :python => :build if MacOS.version <= :snow_leopard && build.with?("docs") depends_on "xz" # For LZMA - depends_on "qt" => :optional + + # The `with-qt` GUI option was removed due to circular dependencies if + # CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake. + # For the GUI application please instead use brew install caskroom/cask/cmake. resource "sphinx" do url "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.3.tar.gz" @@ -91,12 +94,9 @@ class Cmake < Formula args << "--sphinx-man" << "--sphinx-build=#{buildpath}/sphinx/bin/sphinx-build" end - args << "--qt-gui" if build.with? "qt" - system "./bootstrap", *args system "make" system "make", "install" - bin.install_symlink Dir["#{prefix}/CMake.app/Contents/bin/*"] if build.with? "qt" end test do |
