From 740819529b49de100379fadcba41209fd090443a Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Wed, 29 Apr 2020 14:07:23 +0800 Subject: [PATCH] cmake: fix setting defaults in idf_build_process Closes https://github.com/espressif/esp-idf/issues/5053 --- tools/cmake/build.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/build.cmake b/tools/cmake/build.cmake index d7b91e34fb..8031300287 100644 --- a/tools/cmake/build.cmake +++ b/tools/cmake/build.cmake @@ -314,7 +314,7 @@ endmacro() # macro(__build_set_default var default) set(_var __${var}) - if(NOT "${_var}" STREQUAL "") + if(NOT "${${_var}}" STREQUAL "") idf_build_set_property(${var} "${${_var}}") else() idf_build_set_property(${var} "${default}")