aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-08-11 19:13:16 -0700
committerMisty De Meo2013-08-15 22:46:56 -0700
commit2db0b6adf180a17f7015c7da2794d7355b29d0d5 (patch)
tree1131ae8825fa9eb3f9269158a5645bf2b4eae9da /Library
parent1470fd3f0f992ad2dd14d173710b630cf64a9b80 (diff)
downloadhomebrew-2db0b6adf180a17f7015c7da2794d7355b29d0d5.tar.bz2
Mach: add as_cmake_arch_flags helper
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/mach.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb
index a2a87db46..d6870400f 100644
--- a/Library/Homebrew/mach.rb
+++ b/Library/Homebrew/mach.rb
@@ -32,6 +32,10 @@ module ArchitectureListExtension
self.collect{ |a| "-arch #{a}" }.join(' ')
end
+ def as_cmake_arch_flags
+ self.join(';')
+ end
+
protected
def intersects_all?(*set)