You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when building an app that uses the Advanced Network Operator
(ANO), CMake throws some warnings:
```
CMake Warning at operators/advanced_network/CMakeLists.txt:87 (target_link_libraries):
Target "<target>" requests linking to directory
"/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is
dropping the item.
```
Like it says, there are directories being passed into
target_link_libraries with -L which is not supported.
Instead, let's use target_link_directories which is already being used
in the ANO CMakeLists.txt file to pass those DPDK and DOCA directories.
Signed-off-by: John Moon <john.moon@vts-i.com>
0 commit comments