diff --git a/.github/workflows/windows-latest-mingw.yml b/.github/workflows/windows-latest-mingw.yml index 35c8fc374e..440e204cd4 100644 --- a/.github/workflows/windows-latest-mingw.yml +++ b/.github/workflows/windows-latest-mingw.yml @@ -46,14 +46,16 @@ jobs: ${{ matrix.target-prefix }}-openblas ${{ matrix.target-prefix }}-suitesparse - - name: Configure CMake + - name: Configure CMake (Static) # Configure CMake in a 'build' subdirectory run: | cmake \ + -G "MSYS Makefiles" \ -B ${GITHUB_WORKSPACE}/build \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DCMAKE_C_FLAGS=-Wno-deprecated-declarations \ -DBUILD_FORTRAN_MODULE_INTERFACE=ON \ + -DBUILD_STATIC_LIBS=OFF \ -DSUNDIALS_BUILD_WITH_PROFILING=ON \ -DSUNDIALS_LOGGING_LEVEL=2 \ -DSUNDIALS_TEST_UNITTESTS=OFF \