From 89db096848d0b5a18d7d588ec0cefa24121e0649 Mon Sep 17 00:00:00 2001 From: gvnnz Date: Sat, 26 Aug 2023 11:46:37 +0200 Subject: [PATCH] Add -DVCPKG_TARGET_TRIPLET=x64-windows-static-md to Windows build in order to enable static link (#661) --- .github/scripts/windows/make-package.sh | 4 ++-- .github/workflows/packaging.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/windows/make-package.sh b/.github/scripts/windows/make-package.sh index b7ca80111..be8215bca 100644 --- a/.github/scripts/windows/make-package.sh +++ b/.github/scripts/windows/make-package.sh @@ -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/" diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 3cb06d53f..b8c8d5f0e 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -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