From d47507e19ca419c22bbf5d0055367c6b090c3f7e Mon Sep 17 00:00:00 2001 From: Gilles Grospellier Date: Wed, 31 Jan 2024 08:04:38 +0100 Subject: [PATCH] =?UTF-8?q?[config]=20Ne=20positionne=20par=20d=C3=A9faut?= =?UTF-8?q?=20'CMAKE=5FBUILD=5FTYPE'=20=C3=A0=20'Release'=20que=20si=20ARC?= =?UTF-8?q?CORE=5FBUILD=5FMODE=20n'est=20pas=20sp=C3=A9cifi=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _common/build_all/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_common/build_all/CMakeLists.txt b/_common/build_all/CMakeLists.txt index 08d37fa255..f0980b6b4c 100644 --- a/_common/build_all/CMakeLists.txt +++ b/_common/build_all/CMakeLists.txt @@ -49,7 +49,7 @@ arcane_set_if_unset(ARCANE_WANT_CHECK FALSE BOOL "Compilation with additional ch set(BUILD_SHARED_LIBS TRUE) # Compile en release par défaut si rien n'est spécifié -if (NOT DEFINED CMAKE_BUILD_TYPE) +if (NOT DEFINED CMAKE_BUILD_TYPE AND NOT DEFINED ARCCORE_BUILD_MODE) set(CMAKE_BUILD_TYPE Release) endif()