]> git.ipfire.org Git - thirdparty/ccache.git/commit
feat: Download dependencies from the Internet when unavailable (#1112)
authorRafael Kitover <rkitover@gmail.com>
Tue, 19 Jul 2022 08:29:27 +0000 (01:29 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Jul 2022 08:29:27 +0000 (10:29 +0200)
commit2c742c2c7ca988f9a6c57cee72835d62be30b451
tree30907ea4c105a69547c70f710950d120628cbd49
parent7ee6030bc7b2e6ef321c01854f88ce0fd81c4513
feat: Download dependencies from the Internet when unavailable (#1112)

Change the behavior of ZSTD_FROM_INTERNET and HIREDIS_FROM_INTERNET to
always be on and only come into affect when the package is not found on
the system by normal means.

Also use the cmake standard module FetchContent for the
download/checksum/unpack logic.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
CMakeLists.txt
cmake/Findhiredis.cmake
cmake/Findzstd.cmake
src/CMakeLists.txt