diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b94a5523..fef91e00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -589,7 +589,7 @@ jobs: cmake -S "${{ steps.src.outputs.path }}/cmake/test" \ -DCMAKE_BUILD_TYPE="Release" \ -DTEST_SHARED=TRUE \ - -DTEST_STATIC=TRUE \ + -DTEST_STATIC=FALSE \ -DCMAKE_PREFIX_PATH="/tmp/deps-mingw" \ -DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-i686.cmake" \ -Werror=dev \ @@ -601,7 +601,7 @@ jobs: cmake -S "${{ steps.src.outputs.path }}/cmake/test" \ -DCMAKE_BUILD_TYPE="Release" \ -DTEST_SHARED=TRUE \ - -DTEST_STATIC=TRUE \ + -DTEST_STATIC=FALSE \ -DCMAKE_PREFIX_PATH="/tmp/deps-mingw" \ -DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-x86_64.cmake" \ -Werror=dev \ diff --git a/build-scripts/release-info.json b/build-scripts/release-info.json index 01efd59b..9ad5bb94 100644 --- a/build-scripts/release-info.json +++ b/build-scripts/release-info.json @@ -35,6 +35,7 @@ "cmake": { "archs": ["x86", "x64"], "args": [ + "-DBUILD_SHARED_LIBS=ON", "-DSDLIMAGE_AVIF=OFF", "-DSDLIMAGE_BMP=ON", "-DSDLIMAGE_GIF=ON", @@ -56,7 +57,7 @@ "-DSDLIMAGE_TESTS=OFF", "-DSDLIMAGE_VENDORED=OFF" ], - "shared-static": "both" + "shared-static": "args" }, "files": { "": [