From 48249ea29748655bc3e2ad90e9de074b60121baa Mon Sep 17 00:00:00 2001 From: kbinani Date: Tue, 5 Aug 2014 15:54:30 +0900 Subject: yaml-cpp: add universal option Closes #31353. Signed-off-by: Mike McQuaid --- Library/Formula/yaml-cpp.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula/yaml-cpp.rb') 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" -- cgit v1.2.3