From a4e2bfb840b32144094c781e28b6916f94a2a8e1 Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Sat, 28 Mar 2015 07:50:25 -0400 Subject: cmake: build with system curl, zlib, and bzip2 Using the system's curl gives us access to an ssl-enabled curl library, which is important as CMake will not be able to download assets from GitHub and other sites that host them via https without ssl support. An alternative, would be to build with "-- -DCMAKE_USE_OPENSSL=ON" instead, as CMake doesn't enable ssl support by default with its bundled libcurl. Also, enable the system zlib and bzip2 at the recommendation of @mikemcquaid. Closes #38147. Signed-off-by: Mike McQuaid --- Library/Formula/cmake.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index 3cf241408..65f2a7d69 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -66,6 +66,9 @@ class Cmake < Formula --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man + --system-curl + --system-zlib + --system-bzip2 ] if build.with? "docs" -- cgit v1.2.3