Include Library in CMake Components (esp-idf)


I’m currently trying to move some of my code into esp-idf components, but I’m having trouble including libraries from the PIO library manager.
Including other components seems to work fine using idf_component_register(REQUIRES …) in CMakeList.txt. However, it is not able to find libraries included through the library manager.

Thanks for your help!