3bf6e06a80
tools: Fix cmake variable propagation Closes IDFGH-7212 and IDFGH-7292 See merge request espressif/esp-idf!17983