mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-29 20:34:36 +00:00
Building mbedtls with CMake would warn that: "A private source from a directory other than that of target "mbedcrypto has a relative path" This happened due to some of the CMake variables listing sources could be empty. Changed to only use target_sources in the code-path where we set the sources, so we only call target_sources will non-empty variables. Closes https://github.com/espressif/esp-idf/issues/6767