libgit2: remove options
This commit is contained in:
parent
ad4dd72829
commit
2d555238e8
1 changed files with 1 additions and 2 deletions
|
@ -14,14 +14,13 @@ class Libgit2 < Formula
|
|||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libssh2"
|
||||
depends_on "openssl" if MacOS.version <= :lion # Uses SecureTransport on >10.7
|
||||
depends_on "libssh2" => :recommended
|
||||
|
||||
def install
|
||||
args = std_cmake_args
|
||||
args << "-DBUILD_EXAMPLES=YES"
|
||||
args << "-DBUILD_CLAR=NO" # Don't build tests.
|
||||
args << "-DUSE_SSH=NO" if build.without? "libssh2"
|
||||
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *args
|
||||
|
|
Loading…
Reference in a new issue