From c39c1197073d6f83b65e33984383d94f44cf1227 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 Dec 2021 23:09:18 +0100 Subject: [PATCH] Try to force compiler choice to MSVC Otherwise clang compiler is being chosen, even if MSVC should be available. --- .github/workflows/ci_cmake.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_cmake.yml b/.github/workflows/ci_cmake.yml index 65a67643d4..4c9df22855 100644 --- a/.github/workflows/ci_cmake.yml +++ b/.github/workflows/ci_cmake.yml @@ -65,6 +65,7 @@ jobs: cmake_tests: OFF - name: Windows MSVC runner: windows-latest + cmake_defines: -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe cmake_generator: Ninja cmake_samples: SOME cmake_tests: CONSOLE_ONLY