aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-09-18 14:35:36 +0000
committerMauro Sardara <msardara@cisco.com>2020-09-18 14:35:48 +0000
commit5cf2d8077c19387a2d257f0f7804209c7dd7cbb7 (patch)
treec2e2af13b16999c30a5520331b217b6ce1aa163c
parent88509fe353767cbde707c3e3b1f29392957819f3 (diff)
[HICN-574] Fix compilation issue.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I5fa166fe9de506e3a600d88f3db442f07e7fe688 Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r--CMakeLists.txt8
-rw-r--r--libtransport/CMakeLists.txt2
2 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 27d3b419e..a1963c471 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,9 +63,9 @@ endif()
list(APPEND dir_options
BUILD_LIBHICN
BUILD_HICNLIGHT
+ BUILD_LIBTRANSPORT
BUILD_HICNPLUGIN
BUILD_CTRL
- BUILD_LIBTRANSPORT
BUILD_UTILS
BUILD_APPS
BUILD_SYSREPOPLUGIN
@@ -99,6 +99,12 @@ endif ()
message(STATUS "Building the following subprojects: ${subdirs}")
+set(SAFE_VAPI_INCLUDE_DIRS
+ ${CMAKE_CURRENT_SOURCE_DIR}/${BUILD_HICNPLUGIN_DIR}/vapi/include ""
+ CACHE INTERNAL
+ "" FORCE
+)
+
foreach(dir ${subdirs})
add_subdirectory(${dir})
endforeach()
diff --git a/libtransport/CMakeLists.txt b/libtransport/CMakeLists.txt
index 28124b26e..f38c98560 100644
--- a/libtransport/CMakeLists.txt
+++ b/libtransport/CMakeLists.txt
@@ -128,6 +128,8 @@ list(APPEND LIBTRANSPORT_INTERNAL_INCLUDE_DIRS
${SAFE_VAPI_INCLUDE_DIRS}
)
+message("Libsafe vapi: ${SAFE_VAPI_INCLUDE_DIRS}")
+
include(Packaging)
find_package(Threads REQUIRED)