rabbitmq-c: fix args syntax

This commit is contained in:
Dominyk Tiller 2015-06-22 22:27:57 +01:00
parent c48d3f11e6
commit 8d3c1eb218

View file

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