From a57697619834a42c95c35e30fd122947be7bef68 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 12 Jun 2024 18:27:47 +0200 Subject: [PATCH] spns #42205 [SAT][Windows] support different values for CMAKE_BUILD_TYPE - part III --- src/compilation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compilation.py b/src/compilation.py index 71db01f..091b25a 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -495,7 +495,8 @@ CC=\\"hack_libtool\\"%g" libtool''' self.build_environ.set("SAT_HPC", "1") if self.debug_mode: self.build_environ.set("SAT_DEBUG", "1") - self.build_environ.set("SAT_CMAKE_BUILD_TYPE", self.cmake_build_type) + if "cmake_build_type" in self.config.APPLICATION: + self.build_environ.set("SAT_CMAKE_BUILD_TYPE", self.config.APPLICATION.cmake_build_type) if self.verbose_mode: self.build_environ.set("SAT_VERBOSE", "1") -- 2.39.2