Skip to content

Commit b4074b0

Browse files
committed
Add openal-soft dependency and fix vcpkg classic mode installation
Add openal-soft to vcpkg.json dependencies. Update Windows install script to use temporary manifest root directory to prevent manifest mode conflicts when running vcpkg in classic mode.
1 parent 46cc682 commit b4074b0

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/install_dependencies_windows.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ set VCPKG_BINARY_SOURCES=clear;files,%TEMP%\vcpkg-cache,readwrite
2121
:: Create cache directory if it doesn't exist
2222
if not exist %TEMP%\vcpkg-cache mkdir %TEMP%\vcpkg-cache
2323

24-
:: Install all dependencies at once using vcpkg in classic mode
24+
:: Install all dependencies at once using vcpkg in classic mode by pointing to an empty manifest root
2525
echo Installing all dependencies...
26-
vcpkg install glfw3 glm tinyobjloader stb tinygltf nlohmann-json ktx[vulkan] openal-soft --triplet=x64-windows
26+
if not exist %TEMP%\vcpkg-classic-mode mkdir %TEMP%\vcpkg-classic-mode
27+
vcpkg install glfw3 glm tinyobjloader stb tinygltf nlohmann-json ktx[vulkan] openal-soft --triplet=x64-windows --x-manifest-root=%TEMP%\vcpkg-classic-mode
28+
rmdir %TEMP%\vcpkg-classic-mode
2729

2830
:: Remind about Vulkan SDK
2931
echo.

vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"stb",
99
"tinygltf",
1010
"nlohmann-json",
11+
"openal-soft",
1112
"ktx"
1213
]
1314
}

0 commit comments

Comments
 (0)