Skip to content

Commit

Permalink
Add -DVCPKG_TARGET_TRIPLET=x64-windows-static-md to Windows build in …
Browse files Browse the repository at this point in the history
…order to enable static link (#661)
  • Loading branch information
gvnnz committed Aug 26, 2023
1 parent 37fccf8 commit 89db096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/windows/make-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ echo "Create working dirs"
mkdir dist
mkdir temp

echo "Copy binary and dll files to temp/"
echo "Copy binary file to temp/"

cp build/Release/giada.exe build/Release/*.dll temp/
cp build/Release/giada.exe temp/

echo "Make zip archive, save it to to dist/"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Generate Makefile
shell: bash
run: cmake -S . -B build/ -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake -DWITH_VST3=ON
run: cmake -S . -B build/ -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static-md -DWITH_VST3=ON

- name: Build
shell: bash
Expand Down

0 comments on commit 89db096

Please sign in to comment.