diff --git a/gdext/SConstruct b/gdext/SConstruct index 2ce4c63..fe8987c 100644 --- a/gdext/SConstruct +++ b/gdext/SConstruct @@ -20,12 +20,16 @@ if config == "release": if windows: triplet = "x64-windows-static" + if not os.path.exists("vcpkg_installed"): + subprocess.call(f"%VCPKG_ROOT%/vcpkg install --triplet {triplet}", shell=True) elif linux: triplet = "x64-linux" + if not os.path.exists("vcpkg_installed"): + subprocess.call("$VCPKG_ROOT/vcpkg install", shell=True) else: - if not os.path.exists("vcpkg_installed/arm64-osx"): - subprocess.call("zsh scripts/vcpkg-macos.sh", shell=True) triplet = "arm64-osx" + if not os.path.exists("vcpkg_installed"): + subprocess.call("zsh scripts/vcpkg-macos.sh", shell=True) if not os.path.exists("gen/imgui_bindings.gen.h"): subprocess.call("python scripts/gds_bindings.py", shell=True) diff --git a/gdext/vcpkg.json b/gdext/vcpkg.json index af967b4..5fb60c2 100644 --- a/gdext/vcpkg.json +++ b/gdext/vcpkg.json @@ -1,6 +1,5 @@ { "dependencies": [ - "freetype", - "lunasvg" + "freetype" ] } \ No newline at end of file