aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/plugins/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 69d907e..de45d3a 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Firstly, please follow below steps to install dependencies and build code:
make install-dep-extra
make install-vpp
make build-scvpp
- make build
+ make build-plugins
Then, please start each daemon one by one:
start vpp (for example on Ubuntu: systemctl start vpp)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 08003f7..a412d0b 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -49,7 +49,7 @@ set(BAPI_SRC
)
add_library(bapi SHARED ${BAPI_SRC})
target_include_directories(bapi PUBLIC ${VPP_INCLUDE_DIRS} ./bapi)
-target_link_libraries(bapi ${VPP_LIBRARIES})
+target_link_libraries(bapi ${SCVPP_LIBRARIES})
# plugins sources
set(PLUGINS_SOURCES
@@ -64,7 +64,7 @@ set(PLUGINS_SOURCES
# build the source code into shared library
add_library(vpp-plugins SHARED ${PLUGINS_SOURCES})
-target_link_libraries(vpp-plugins ${SYSREPO_LIBRARIES} ${SCVPP_LIBRARIES} bapi)
+target_link_libraries(vpp-plugins bapi)
# install the plugin into plugins dir
install(TARGETS vpp-plugins DESTINATION ${SR_PLUGINS_DIR})