mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Turn VCREDIST into a cache variable
This commit is contained in:
parent
a1f736d765
commit
da68130c08
2 changed files with 4 additions and 5 deletions
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
|
@ -104,6 +104,7 @@ jobs:
|
|||
-D OPENMW_USE_SYSTEM_SQLITE3=OFF
|
||||
-D OPENMW_USE_SYSTEM_YAML_CPP=OFF
|
||||
-D OPENMW_LTO_BUILD=ON
|
||||
${{ inputs.package && format('-D "VCREDIST64={0}/vc_redist.x64.exe"', env.VCToolsRedistDir) || '' }}
|
||||
|
||||
- name: Build OpenMW
|
||||
run: cmake --build ${{ github.workspace }}/build
|
||||
|
@ -116,9 +117,7 @@ jobs:
|
|||
|
||||
- name: Ensure DLLs end up in the build dir
|
||||
if: ${{ inputs.package }}
|
||||
run: |
|
||||
cp "${{ env.VCToolsRedistDir }}/vc_redist.x64.exe" "${{ github.workspace }}/build"
|
||||
echo "dlldir=${{ github.workspace }}/build" >> $env:GITHUB_ENV
|
||||
run: echo "dlldir=${{ github.workspace }}/build" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Copy missing DLLs
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue