Skip to content

Commit b529b0d

Browse files
committed
windows fix
1 parent 0038d9b commit b529b0d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,14 @@ jobs:
125125
with:
126126
submodules: recursive
127127
- name: Configure
128-
run: cmake -S . -B build -G "Visual Studio 17 2022" -A "x64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
128+
run: |
129+
cmake -S . -B build -G "Visual Studio 17 2022" -A "x64" `
130+
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" `
131+
-DVCPKG_TARGET_TRIPLET=x64-windows `
132+
-DCMAKE_BUILD_TYPE=Release `
133+
-DCMAKE_INSTALL_PREFIX=install `
134+
-DBUILD_TESTING=OFF `
135+
-DBUILD_SHARED_LIBS=ON
129136
- name: Build & Install
130137
run: cmake --build build --config Release --parallel --target INSTALL
131138
- name: Package

0 commit comments

Comments
 (0)