From cd74ad2b9952f1d5d6493f6c6076a8289bcf93b8 Mon Sep 17 00:00:00 2001 From: Patrix Date: Tue, 9 Apr 2024 22:45:52 +0200 Subject: [PATCH] Added setting default compilers for windows template in CMakePresets.json --- CMakePresets.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakePresets.json b/CMakePresets.json index 8ac9525..b7a53aa 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -10,6 +10,10 @@ "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" + }, + "cacheVariables": { + "CMAKE_C_COMPILER": "cl.exe", + "CMAKE_CXX_COMPILER": "cl.exe" } }, {