cmake: symbol link CLT in bin if build with gui

Ref: https://github.com/Homebrew/homebrew/pull/34190#issuecomment-63587884

Closes Homebrew/homebrew#34335.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Xu Cheng 2014-11-20 16:50:05 +08:00 committed by Mike McQuaid
parent ae628438cd
commit d951afb488

View file

@ -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