diff --git a/engines/doom-retro/build.sh b/engines/doom-retro/build.sh index 9b9bab561..e67f20ac2 100755 --- a/engines/doom-retro/build.sh +++ b/engines/doom-retro/build.sh @@ -1,5 +1,8 @@ #!/bin/bash +export LDFLAGS=-L"$VCPKG_INSTALLED_PATH/lib" +export LIBRARY_PATH="$VCPKG_INSTALLED_PATH/lib" + # CLONE PHASE git clone https://github.com/bradharding/doomretro.git source pushd source @@ -12,6 +15,7 @@ mkdir -p build cd build cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_PREFIX_PATH="$VCPKG_INSTALLED_PATH" \ .. make -j "$(nproc)" popd