Skip to content

Commit

Permalink
Fix LuaJIT flag in CMake configuration (#4711)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranisalt authored May 26, 2024
1 parent ce0cc0c commit b85757f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit b85757f

Please sign in to comment.