From 23275922c31ab03571e7a0480014619c0a5b3c6d Mon Sep 17 00:00:00 2001 From: Jiacheng Guo Date: Tue, 17 May 2022 19:26:48 +0800 Subject: [PATCH] [esp32] fix empty is_debug value when debug disabled (#18502) --- config/esp32/components/chip/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index 6386feced2a449..bcd7af4b0add58 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -40,6 +40,7 @@ if (NOT CMAKE_BUILD_EARLY_EXPANSION) if (NOT CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE) message(FATAL_ERROR "CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE shall be set") endif() + set(is_debug FALSE) endif() endif()