snappystream: remove options

This commit is contained in:
FX Coudert 2018-09-14 14:52:00 +02:00
parent 8faa9f6a39
commit 77faaa20fb

View file

@ -15,12 +15,9 @@ class Snappystream < Formula
depends_on "cmake" => :build
depends_on "snappy"
depends_on "boost" => :optional
def install
args = std_cmake_args + %w[. -DBUILD_TESTS=ON]
args << "-DWITH_BOOST_IOSTREAMS=1" if build.with? "boost"
system "cmake", *args
system "cmake", ".", *std_cmake_args, "-DBUILD_TESTS=ON"
system "make", "all", "test", "install"
end