From 0291603ffcb24f1a8fa25c890472f8c81f7df07a Mon Sep 17 00:00:00 2001 From: Jacob Oursland Date: Sun, 18 Aug 2024 16:22:29 -0500 Subject: [PATCH] CMake: Use RelWithDebInfo for Conda Windows Debug builds. Python is not provided with debug libraries, so debug builds are not possible. Building as RelWithDebInfo will build debug information for the binary, while using the available release libraries. --- CMakePresets.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 094e1d75ca..43c45c1890 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -276,7 +276,13 @@ "inherits": [ "conda-debug", "conda-windows" - ] + ], + "cacheVariables": { + "CMAKE_BUILD_TYPE": { + "type": "STRING", + "value": "RelWithDebInfo" + } + } }, { "name": "conda-windows-release",