aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/CMakeLists.txt
diff options
context:
space:
mode:
authordrenfong.wang <drenfong.wang@intel.com>2019-02-28 02:15:10 +0000
committerdrenfong.wang <drenfong.wang@intel.com>2019-02-28 02:19:24 +0000
commit6927b503b160cc309884deacf544e45fda9d5b8f (patch)
tree3fb5acaeaef41089952aad56e745acf7d63a7456 /src/plugins/CMakeLists.txt
parent06ca5af1c5efca1d14307c5f868ac7401d41cb2e (diff)
fix rpm package plugins cannot loadstable/1901
Change-Id: Id5f488ce575491023d2f38b6799ee562b8188259 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
Diffstat (limited to 'src/plugins/CMakeLists.txt')
-rw-r--r--src/plugins/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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})