diff options
Diffstat (limited to 'ctrl/sysrepo-plugins')
-rw-r--r-- | ctrl/sysrepo-plugins/cmake/Modules/Packaging.cmake | 9 | ||||
-rw-r--r-- | ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/ctrl/sysrepo-plugins/cmake/Modules/Packaging.cmake b/ctrl/sysrepo-plugins/cmake/Modules/Packaging.cmake index cba9adf1f..19be58beb 100644 --- a/ctrl/sysrepo-plugins/cmake/Modules/Packaging.cmake +++ b/ctrl/sysrepo-plugins/cmake/Modules/Packaging.cmake @@ -15,22 +15,17 @@ # Packages section ###################### -############################################################## -# Get VPP version -############################################################## -list(GET VPP_DEFAULT_VERSION 0 VPP_VERSION) - set(hicn-sysrepo-plugin_DESCRIPTION "A Plugin to enable hICN VPP in sysrepo." CACHE STRING "Description for deb/rpm package." ) set(hicn-sysrepo-plugin_DEB_DEPENDENCIES - "hicn-plugin (= ${VPP_VERSION}-release), sysrepo (>= 1.0)" + "hicn-plugin (= ${PREFIX_VERSION}-release), sysrepo (>= 1.0)" CACHE STRING "Dependencies for deb/rpm package." ) set(hicn-sysrepo-plugin_RPM_DEPENDENCIES - "hicn-plugin = ${VPP_VERSION}-release, sysrepo >= 1.0" + "hicn-plugin = ${PREFIX_VERSION}-release, sysrepo >= 1.0" CACHE STRING "Dependencies for deb/rpm package." ) diff --git a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt index 9204e2766..3638f5456 100644 --- a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt +++ b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt @@ -26,7 +26,7 @@ set(SOURCE_FILES plugin/hicn_plugin.c ) -list(APPEND SYSREPO_PLUGIN_INCLUDE_DIRS +list(APPEND SYSREPO_PLUGIN_INCLUDE_DIRS PRIVATE ${VPP_INCLUDE_DIRS} ${HICNPLUGIN_INCLUDE_DIRS} ${SYSREPO_INCLUDE_DIRS} |