mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-29 20:05:09 +00:00
1b40b10dc1
IDF_BUILD_V2 does not have BUILD_COMPONENTS build property. Therefore, when IDF_BUILD_V2 is defined, use a generator expressions instead. I believe that the one-liner should also work with IDF_BUILD_V1, but the change is kept separate to clearly show the difference between IDF_BUILD_V1 and IDF_BUILD_V2. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>