File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,13 @@ Configure environment variables (PowerShell example — update paths as needed):
119119$env:VCPKG_ROOT = ' C:\d ev\v cpkg'
120120$env:CMAKE_TOOLCHAIN_FILE = "${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
121121
122- # pkg-config/ msys path (hash may vary)
123- $env:PATH = "${env:VCPKG_ROOT}/downloads/tools/msys2/<msys-hash>/mingw64/bin/;$env:PATH"
122+ # Add pkg-config/ msys path (hash may vary) for using pkg-config command
123+ $env:PATH = "${env:VCPKG_ROOT}/downloads/tools/msys2/<msys-hash>/mingw64/bin/;${env:PATH}"
124+ # Add path to DLLs (without this, the build still succeeds, but loading fails)
125+ $env:PATH = "${env:VCPKG_ROOT}/installed/x64-windows/bin/;${env:PATH}"
126+ # Add other pkg-config related settings
124127$env:PKG_CONFIG_SYSROOT_DIR = "${env:VCPKG_ROOT}/downloads/tools/msys2/<msys-hash>/mingw64/"
125- $env:PKG_CONFIG_PATH = "${env:VCPKG_ROOT}/installed/x64-windows-dynamic-release /lib/pkgconfig/"
128+ $env:PKG_CONFIG_PATH = "${env:VCPKG_ROOT}/installed/x64-windows/lib/pkgconfig/"
126129```
127130
128131
You can’t perform that action at this time.
0 commit comments