From 018e5707d78a866ab78a2f087cc7c22c6c0d00ca Mon Sep 17 00:00:00 2001 From: jadebenn Date: Wed, 3 Apr 2024 20:30:33 -0500 Subject: [PATCH] try using compiler flags for mac instead --- CMakePresets.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 8316a3fb..7fb1d345 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -39,17 +39,15 @@ "description": "Same as default, Used in GitHub actions workflow", "inherits": "default", "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release" + "CMAKE_CXX_FLAGS_INIT" : "-O2", + "CMAKE_C_FLAGS_INIT" : "-O2" } }, { "name": "debug-macos-13", "displayName": "Debug configure step for MacOS", "description": "Used to generate debug configuration for MacOS", - "inherits": "default", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug" - } + "inherits": "default" }, { "name": "ci-windows-2022", @@ -75,7 +73,7 @@ "value": "x64" }, "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug" + "CMAKE_CXX_FLAGS_INIT": "Debug" } }, {