From df93b11d454d92231407204a25c179595f1d2da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Sun, 29 Aug 2021 15:22:19 +0200 Subject: [PATCH] cmake: actually add the Optimized build type --- CMakePresets.json | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakePresets.json b/CMakePresets.json index b0261cd64..89e6db4f3 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -9,6 +9,7 @@ { "name": "flags-base", "cacheVariables": { + "CMAKE_CONFIGURATION_TYPES": "Debug;Release;Optimized", "CMAKE_C_FLAGS": "-msse2 -mfpmath=sse -fomit-frame-pointer -mstackrealign -Wall -fno-strict-aliasing", "CMAKE_CXX_FLAGS": "-msse2 -mfpmath=sse -fomit-frame-pointer -mstackrealign -Wall -fno-strict-aliasing", "CMAKE_C_FLAGS_RELEASE": "-g0 -O3",