Ziti-tunnel-sdk-c cmake build process doesn't pull in tertiary dependencies

Ok here’s a condensed list of steps… I just used these locally.

export VCPKG_ROOT=/path/to/where/you/want/to/put/vcpkg
mkdir -p $VCPKG_ROOT
git clone git@github.com:microsoft/vcpkg.git $VCPKG_ROOT
sudo apt install zip -y
sudo apt-get install pkg-config -y
$VCPKG_ROOT/bootstrap-vcpkg.sh
cd /to/wherever/you/have/ziti-tunnel-sdk-c/
mkdir build
cd build
cmake --preset ci-linux-x64 ..
cmake build .

Note that cmake will now require you have env var VCPKG_ROOT and it’s expected that this is the root of the vcpkg checkout (as shown in the steps listed above). Stating the obvious, but most of these are ‘one-time’ steps you’ll need to run.

You can also read up on vcpkg presets if you’re interested or need to change away from the ‘ci-linux-x64’ preset. The first time you do this

Hope that helps!