diff options
author | Aberto Compagno <acompagn+fdio@cisco.com> | 2020-01-29 15:52:45 +0000 |
---|---|---|
committer | Aberto Compagno <acompagn+fdio@cisco.com> | 2020-01-29 15:52:45 +0000 |
commit | fa11d711aaab5e4cba7e89dcc896866f3e73db3f (patch) | |
tree | 77354d17548fe42a9595565c36fbd6376ce46e18 /hicn-plugin/src | |
parent | eebfbba8a21e5cfa7e09abbcd601d9b0521b2353 (diff) |
[HICN-491] Fixed missing inclusion of vapi_safe into the hicn-plugin deb/rpm packagev20.01
Signed-off-by: Aberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Iec88cca235395754829fedf029add5fa779d5a9e
Diffstat (limited to 'hicn-plugin/src')
-rw-r--r-- | hicn-plugin/src/CMakeLists.txt | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/hicn-plugin/src/CMakeLists.txt b/hicn-plugin/src/CMakeLists.txt index 0f2debcb9..3e9b8f6d1 100644 --- a/hicn-plugin/src/CMakeLists.txt +++ b/hicn-plugin/src/CMakeLists.txt @@ -12,29 +12,6 @@ # limitations under the License. cmake_minimum_required(VERSION 3.5 FATAL_ERROR) -project(hicn-plugin) - -include(GNUInstallDirs) - -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} - "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/Modules/" - "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Modules/" -) -include(BuildMacros) - -set (CMAKE_CXX_STANDARD 11) -set (CMAKE_C_STANDARD 11) - -# Check for memfd_create syscall -include(CheckSymbolExists) -CHECK_SYMBOL_EXISTS ( "__NR_memfd_create" "sys/syscall.h" HAVE_MEMFD_CREATE ) -if ( HAVE_MEMFD_CREATE ) - add_definitions ( -DHAVE_MEMFD_CREATE ) -endif() - -set(${HICN_PLUGIN}-dev hicn-plugin CACHE INTERNAL "" FORCE SCOPE PARENT) - -include (Packaging) # Dependencies @@ -283,6 +260,8 @@ set_target_properties(hicn_api_test_plugin LINKER_LANGUAGE C PREFIX "") +message (STATUS "hicn-plugin variable ${HICN_PLUGIN}") + install(DIRECTORY DESTINATION ${VPP_INSTALL_PLUGIN} COMPONENT ${HICN_PLUGIN}) |