diff options
| author | John Szakmeister | 2015-03-28 07:50:25 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-29 17:39:51 +0100 |
| commit | a4e2bfb840b32144094c781e28b6916f94a2a8e1 (patch) | |
| tree | 8bb98a8b433a939579596d1014d4172f878f8b16 /Library | |
| parent | d0fd0c54aa2dac22645cd63fa933b19cc3cd00d3 (diff) | |
| download | homebrew-a4e2bfb840b32144094c781e28b6916f94a2a8e1.tar.bz2 | |
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cmake.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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" |
