summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-12-04 09:56:31 +0000
committerGerrit Code Review <gerrit@fd.io>2019-12-04 09:56:31 +0000
commita90afcecc8029648c0e4ef2b79234eca8c31eac9 (patch)
treee50d15b2457b508ede84a7639282db239353325d /CMakeLists.txt
parent0a60657a56073c1c1d043a63b93cffd764ca40d3 (diff)
parent2bfd3335ff11281d703cb7f422bb17da2d3a6bcd (diff)
Merge "to fix HICN-421 by adding cpack to libyang and sysrepo"
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2deb1468..e95380893 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,8 @@ option(BUILD_CTRL "Build the hicn control tools" ON)
option(BUILD_HICNPLUGIN "Build the hicn vpp plugin" OFF)
option(BUILD_HICNEXTRAPLUGIN "Build the hicn extra plugin" OFF)
option(BUILD_SYSREPOPLUGIN "Build the sysrepo plugin" OFF)
+option(BUILD_SYSREPOP "Build the sysrepo plugin" OFF)
+option(BUILD_LIBYANG "Build the sysrepo plugin" OFF)
option(BUILD_CTRL_HICNPLUGIN "Build the hicn control tools for hicn plugin" OFF)
list(APPEND dir_options
@@ -41,6 +43,8 @@ list(APPEND dir_options
BUILD_CTRL
BUILD_HICNEXTRAPLUGIN
BUILD_SYSREPOPLUGIN
+ BUILD_SYSREPO
+ BUILD_LIBYANG
BUILD_LIBMEMIF
)
@@ -52,9 +56,12 @@ set(BUILD_APPS_DIR apps)
set(BUILD_CTRL_DIR ctrl)
set(BUILD_HICNPLUGIN_DIR hicn-plugin)
set(BUILD_SYSREPOPLUGIN_DIR ctrl/sysrepo-plugins)
+set(BUILD_SYSREPO_DIR extras/sysrepo)
+set(BUILD_LIBYANG_DIR extras/libyang)
set(BUILD_HICNEXTRAPLUGIN_DIR extras/hicn-extra-plugin)
set(BUILD_LIBMEMIF_DIR extras/libmemif)
+
## Add enabled components
foreach (opt ${dir_options})
if (${opt})