diff --git a/setup/ccache.sh b/setup/ccache.sh index b295704b..db026f1e 100755 --- a/setup/ccache.sh +++ b/setup/ccache.sh @@ -3,8 +3,8 @@ cd /tmp || exit 1 git clone https://github.com/ccache/ccache.git cd ccache || exit 1 -./autogen.sh -./configure --disable-man --with-libzstd-from-internet --with-libb2-from-internet +mkdir -p build && cd build || exit 1 +cmake -DHIREDIS_FROM_INTERNET=ON -DZSTD_FROM_INTERNET=ON -DCMAKE_BUILD_TYPE=Release .. make -j"$(nproc)" sudo make install rm -rf "${PWD}"