boinc/linux/ci_configure_libs.sh

19 lines
528 B
Bash
Executable File

#!/bin/sh
set -e
if [ ! -d "linux" ]; then
echo "start this script in the source root directory"
exit 1
fi
CACHE_DIR="$PWD/3rdParty/buildCache/linux"
BUILD_DIR="$PWD/3rdParty/linux"
VCPKG_ROOT="$BUILD_DIR/vcpkg"
export VCPKG_DIR="$VCPKG_ROOT/installed/x64-linux"
linux/update_vcpkg.sh
chmod +x "$VCPKG_DIR/share/curl/curl-config"
export _libcurl_config="$VCPKG_DIR/share/curl/curl-config"
./configure --enable-vcpkg --with-libcurl=$VCPKG_DIR --with-ssl=$VCPKG_DIR --disable-server --disable-client --disable-manager