diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1bfd9339d32..5ca2112c321 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -106,10 +106,12 @@ jobs: - uses: seanmiddleditch/gha-setup-ninja@master - name: Build & Install shell: cmd + env: + CMAKE_GENERATOR_TOOLSET: "ClangCl" + CMAKE_GENERATOR: "Visual Studio 17 2022" run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64 cmake -S . -B build ^ - -T "ClangCl" ^ -DCMAKE_BUILD_TYPE=Release ^ -DBUILD_SHARED_LIBS=ON ^ -DCMAKE_VERBOSE_MAKEFILE=ON ^