From aed100c5bda1b1613dfdcf37896fda3f22f67b96 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Sun, 1 Dec 2024 09:47:02 +0100 Subject: [PATCH] Make windows cmake presets only avail on windows --- CMakePresets.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 37732dd..01c04da 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -25,7 +25,12 @@ "base" ], "generator": "Visual Studio 17 2022", - "architecture": "x64" + "architecture": "x64", + "condition": { + "type": "equals", + "lhs": "${hostSystemName}", + "rhs": "Windows" + } }, { "name": "headless",