Skip to content

Commit

Permalink
[ovsp4rt] Fix compilation error
Browse files Browse the repository at this point in the history
- Added missing include directory and link libraries when
  building ovsp4rt_client object library.

Signed-off-by: Derek Foster <justffoulkes@gmail.com>
  • Loading branch information
ffoulkes committed Dec 11, 2024
1 parent 4ab0f85 commit 8c9902b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ovs-p4rt/sidecar/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ add_library(ovsp4rt_client_o OBJECT

target_include_directories(ovsp4rt_client_o PUBLIC
${SIDECAR_SOURCE_DIR}
${STRATUM_SOURCE_DIR}
)

target_link_libraries(ovs_sidecar_o PUBLIC
p4_role_config_proto
p4runtime_proto
stratum_utils
)

#-----------------------------------------------------------------------
Expand Down

0 comments on commit 8c9902b

Please sign in to comment.