Skip to content

Commit 6e8df95

Browse files
committed
github: cmake suddenly defaults to ninja, explicitly define VS as generator
1 parent 4cd1833 commit 6e8df95

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/cmake-build-ci.gen

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ function steps_setenv($os_vnd, $splat_map = null) {
111111
run: |
112112
echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
113113
echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
114+
echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
114115
- name: Prepare environment (MinGW)
115116
if: env.CC_VND == 'mingw'
116117
run: |

.github/workflows/cmake-build-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ jobs:
374374
run: |
375375
echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
376376
echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
377+
echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
377378
- name: Prepare environment (MinGW)
378379
if: env.CC_VND == 'mingw'
379380
run: |

0 commit comments

Comments
 (0)