Include external libraries


Venkat Rao Vallapaneni <vallapaneni@...>
 

Hi,

I need to include pre-compiled external libraries. I am not able to provide link directories path. I could add the library name with "target_link_libraries(app PRIVATE power)" but libpower.a is in src/libs directory.

Adding this line link_directories(src/libs) is not having any effect (could not see -L path related to src/libs).

Please let me know how to do this.

Rgds,
Venkat.

Join {users@lists.zephyrproject.org to automatically receive all group messages.