From 957d94dc47a46f06e343013cd7dca9d8380fb8c5 Mon Sep 17 00:00:00 2001 From: Jiacheng Guo Date: Tue, 17 May 2022 17:03:41 +0800 Subject: [PATCH] [esp32] fix empty is_debug value when debug disabled --- 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 7f3a793196b1f7..864b6c1d35aec0 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()