diff options
| author | Misty De Meo | 2013-08-11 19:13:16 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-08-15 22:46:56 -0700 |
| commit | b0d45b29bd91a76d1fc41a2aedd0cfe5238fd6da (patch) | |
| tree | 648ceacc92535a9f61335ab233f7a6ac4badfec3 /Library/Homebrew | |
| parent | ab633864d5db641d27fdce49c7c66074b931b19d (diff) | |
| download | brew-b0d45b29bd91a76d1fc41a2aedd0cfe5238fd6da.tar.bz2 | |
Mach: add as_cmake_arch_flags helper
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/mach.rb | 4 |
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) |
