rabbitmq-c: fix args syntax
This commit is contained in:
parent
c48d3f11e6
commit
8d3c1eb218
1 changed files with 5 additions and 5 deletions
|
@ -28,11 +28,11 @@ class RabbitmqC < Formula
|
|||
args << "-DBUILD_TESTS=OFF"
|
||||
args << "-DBUILD_API_DOCS=OFF"
|
||||
|
||||
args << if build.with? "tools"
|
||||
"-DBUILD_TOOLS=ON"
|
||||
else
|
||||
"-DBUILD_TOOLS=OFF"
|
||||
end
|
||||
if build.with? "tools"
|
||||
args << "-DBUILD_TOOLS=ON"
|
||||
else
|
||||
args << "-DBUILD_TOOLS=OFF"
|
||||
end
|
||||
|
||||
system "cmake", ".", *args
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue