aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorkbinani2014-08-05 15:54:30 +0900
committerMike McQuaid2014-08-05 09:31:50 +0100
commit48249ea29748655bc3e2ad90e9de074b60121baa (patch)
treea92c531d5cfe8f96b151d563e768c1ab6fc25ea7 /Library/Formula
parent1e4f1e8aa4f7de217143f0b001dfc1e345c1fb51 (diff)
downloadhomebrew-48249ea29748655bc3e2ad90e9de074b60121baa.tar.bz2
yaml-cpp: add universal option
Closes #31353. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yaml-cpp.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/yaml-cpp.rb b/Library/Formula/yaml-cpp.rb
index f20428a9e..8fcb78f7a 100644
--- a/Library/Formula/yaml-cpp.rb
+++ b/Library/Formula/yaml-cpp.rb
@@ -6,6 +6,7 @@ class YamlCpp < Formula
sha1 '9c5414b4090491e96d1b808fe8628b31e625fdaa'
option :cxx11
+ option :universal
depends_on 'cmake' => :build
@@ -17,6 +18,7 @@ class YamlCpp < Formula
def install
ENV.cxx11 if build.cxx11?
+ ENV.universal_binary if build.universal?
system "cmake", ".", *std_cmake_args
system "make install"