yaml-cpp: add universal option

Closes Homebrew/homebrew#31353.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
kbinani 2014-08-05 15:54:30 +09:00 committed by Mike McQuaid
parent 724e464337
commit 2f7fcdba37
1 changed files with 2 additions and 0 deletions

View File

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