summaryrefslogtreecommitdiffstats
path: root/libtransport/CMakeLists.txt
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-12-02 19:41:05 +0000
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-12-04 10:23:52 +0000
commitda298bde46abb855cbdf7818bb34a0b5339060cc (patch)
treeb7c6818520834666768dc44d5afaa8a293653e67 /libtransport/CMakeLists.txt
parenta90afcecc8029648c0e4ef2b79234eca8c31eac9 (diff)
[HICN-427] Producer and consumer socket created with vapi
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I44142385b191b4c9b5c4bb418bfbd06a5e102eec
Diffstat (limited to 'libtransport/CMakeLists.txt')
-rw-r--r--libtransport/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/libtransport/CMakeLists.txt b/libtransport/CMakeLists.txt
index d58df5c07..690b86cd8 100644
--- a/libtransport/CMakeLists.txt
+++ b/libtransport/CMakeLists.txt
@@ -72,12 +72,14 @@ find_package_wrapper(Asio REQUIRED)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
set(LIBTRANSPORT hicntransport)
if (__vpp__)
- find_package_wrapper(HicnPlugin REQUIRED)
+ find_package(HicnPlugin REQUIRED)
find_package(Libmemif REQUIRED)
+ find_package(Libhicnctrl REQUIRED)
set(LIBTRANSPORT ${LIBTRANSPORT}-memif)
list(APPEND LIBRARIES
${LIBMEMIF_LIBRARIES}
+ ${LIBHICNCTRL_SHARED}
)
endif()
@@ -100,6 +102,7 @@ else()
if (__vpp__)
list(APPEND DEPENDENCIES
hicn_plugin
+ ${LIBHICNCTRL_SHARED}
)
if (NOT Libmemif_FOUND)
@@ -108,6 +111,7 @@ else()
)
endif()
+ set(LIBHICNCTRL_LIBRARIES ${LIBHICNCTRL_SHARED})
list(APPEND LIBRARIES
${LIBMEMIF_LIBRARIES}
)
@@ -143,6 +147,7 @@ list(APPEND LIBRARIES
${ANDROID_LIBRARIES}
${OPENSSL_LIBRARIES}
${WINDOWS_LIBRARIES}
+ ${LIBHICNCTRL_LIBRARIES}
)
# Include dirs -- Order does matter!