We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c590cb9 commit d2dfe3fCopy full SHA for d2dfe3f
.github/workflows/cmake.yml
@@ -55,6 +55,12 @@ jobs:
55
fi
56
shell: bash
57
58
+ - name: Setup MSVC environment
59
+ if: matrix.os == 'windows-latest'
60
+ uses: ilammy/msvc-dev-cmd@v1
61
+ with:
62
+ arch: x64
63
+
64
- name: Configure CMake
65
run: |
66
mkdir build
@@ -65,10 +71,8 @@ jobs:
71
72
elif [ "${{ matrix.os }}" == "windows-latest" ]; then
67
73
if [ "${{ matrix.compiler }}" == "msvc" ]; then
68
- # Force the real MSVC toolset (cl.exe)
69
74
cmake -G "Visual Studio 17 2022" -A x64 ..
70
75
elif [ "${{ matrix.compiler }}" == "clang" ]; then
- # Explicit clang-cl on Windows
76
cmake -G Ninja -DCMAKE_CXX_COMPILER=clang-cl ..
77
78
0 commit comments