Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information