From 3f1ec39a8d184597a7949d02e6fb78c97d62fd3d Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Wed, 21 Aug 2019 12:00:55 +0800 Subject: [PATCH] cmake: fix issue with checking build process args --- 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 c9088ba86..9285a53e1 100644 --- a/tools/cmake/build.cmake +++ b/tools/cmake/build.cmake @@ -295,7 +295,7 @@ endmacro() # macro(__build_set_default var default) set(_var __${var}) - if(${_var}) + if(NOT "${_var}" STREQUAL "") idf_build_set_property(${var} "${${_var}}") else() idf_build_set_property(${var} "${default}")