diff --git a/.github/workflows/build-vcpkg.yml b/.github/workflows/build-vcpkg.yml index 0f012c23f6..60035e7b25 100644 --- a/.github/workflows/build-vcpkg.yml +++ b/.github/workflows/build-vcpkg.yml @@ -50,8 +50,9 @@ jobs: uses: lukka/run-cmake@v10 with: buildPreset: vcpkg - buildPresetAdditionalArgs: "['--config', '${{ matrix.buildtype }}', '-DUSE_LUAJIT=${{ matrix.luajit }}']" + buildPresetAdditionalArgs: "['--config', '${{ matrix.buildtype }}']" configurePreset: vcpkg + configurePresetAdditionalArgs: "['-DUSE_LUAJIT=${{ matrix.luajit }}']" - name: Upload artifact binary uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release-vcpkg.yml b/.github/workflows/release-vcpkg.yml index 88a9ccef5e..36944c1b5d 100644 --- a/.github/workflows/release-vcpkg.yml +++ b/.github/workflows/release-vcpkg.yml @@ -30,8 +30,9 @@ jobs: uses: lukka/run-cmake@v10 with: buildPreset: vcpkg - buildPresetAdditionalArgs: "['--config', 'RelWithDebInfo', '--clean-first', '-DUSE_LUAJIT=ON']" + buildPresetAdditionalArgs: "['--config', 'RelWithDebInfo']" configurePreset: vcpkg + configurePresetAdditionalArgs: "['-DUSE_LUAJIT=ON']" - name: Prepare datapack contents run: |