mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: fix setting defaults in idf_build_process
Closes https://github.com/espressif/esp-idf/issues/5053
This commit is contained in:
parent
948795265d
commit
d30f3b6edd
@ -313,7 +313,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}")
|
||||
|
Loading…
Reference in New Issue
Block a user