mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
71a884571c
It can be used in component CMakeLists.txt files when adding "weak" dependencies between component. A "weak" dependency from A to B is similar to target_link_libraries(A PRIVATE B), but it gets added only if B is included in the build. Use it instead of specifying B as part of PRIV_REQUIRES when the component can be built (even if with reduced functionality) without component B being available.