aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmake.rb
diff options
context:
space:
mode:
authorXu Cheng2014-11-20 16:50:05 +0800
committerMike McQuaid2014-11-20 14:02:32 +0000
commitc3d313b57570a774ece682c531fe2a3fdc70196a (patch)
tree122fd5d4b2a5dc58e547d8fceeed3e841cf4f562 /Library/Formula/cmake.rb
parent73940fd17efd58d3f976a29d192de32d25bf3c7b (diff)
downloadhomebrew-c3d313b57570a774ece682c531fe2a3fdc70196a.tar.bz2
cmake: symbol link CLT in bin if build with gui
Ref: https://github.com/Homebrew/homebrew/pull/34190#issuecomment-63587884 Closes #34335. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/cmake.rb')
-rw-r--r--Library/Formula/cmake.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 31c3a21b5..84a3a1016 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -103,6 +103,7 @@ class Cmake < Formula
system "./bootstrap", *args
system "make"
system "make", "install"
+ bin.install_symlink Dir["#{prefix}/CMake.app/Contents/bin/*"] if build.with? "qt"
end
test do