summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)