aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-02-01 09:40:26 +0000
committerMauro Sardara <msardara@cisco.com>2019-02-01 09:59:01 +0000
commit1dea17fe921e1f94db63e4c563fe08dd25734900 (patch)
tree2875c75d595643c549e0dbb50235ae27a8a68090 /libtransport
parentc793ea85f8375013abaf2c6fb43347f935558276 (diff)
[HICN-10] Add support for building hicn-plugin packages. Do not build packages for components without name.
Change-Id: I11eff1b9dc6e71e079baf65703192a7cbfb565e8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/CMakeLists.txt b/libtransport/CMakeLists.txt
index c5cb95260..4df87b056 100644
--- a/libtransport/CMakeLists.txt
+++ b/libtransport/CMakeLists.txt
@@ -44,7 +44,7 @@ set(raaqm_config_path ${CMAKE_INSTALL_PREFIX}/etc/hicn-consumer.conf)
# Install includes
set(INSTALL_INCLUDE_DIR include/hicn/transport)
-if ((BUILD_MEMIF_CONNECTOR OR BUILD_VPP_PLUGIN) AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
+if (BUILD_VPP_PLUGIN AND BUILD_MEMIF_CONNECTOR AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
set(__vpp__ 1)
find_package(Vpp REQUIRED)
find_package(Libmemif REQUIRED)
@@ -116,4 +116,4 @@ list(APPEND LIBTRANSPORT_INCLUDE_DIRS
${WINDOWS_INCLUDE_DIRS}
)
-add_subdirectory(${TRANSPORT_ROOT_PATH}) \ No newline at end of file
+add_subdirectory(${TRANSPORT_ROOT_PATH})