aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl')
-rw-r--r--ctrl/sysrepo-plugins/CMakeLists.txt9
-rw-r--r--ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt2
2 files changed, 10 insertions, 1 deletions
diff --git a/ctrl/sysrepo-plugins/CMakeLists.txt b/ctrl/sysrepo-plugins/CMakeLists.txt
index 8c1278c1c..f1e1553dc 100644
--- a/ctrl/sysrepo-plugins/CMakeLists.txt
+++ b/ctrl/sysrepo-plugins/CMakeLists.txt
@@ -53,6 +53,15 @@ endif()
add_subdirectory(hicn-plugin)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/yang/hicn/hicn.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/iana-if-type@2014-05-08.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-interfaces.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-ip@2014-06-16.yang
+ ${CMAKE_CURRENT_SOURCE_DIR}/yang/ietf/ietf-yang-types@2013-07-15.yang
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/modules_yang/
+ COMPONENT hicn-sysrepo-plugin)
+
+
include(Packaging)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
include(Packager)
diff --git a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
index d5b15f21a..705bd3cee 100644
--- a/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
+++ b/ctrl/sysrepo-plugins/hicn-plugin/CMakeLists.txt
@@ -46,4 +46,4 @@ build_library(sysrepohicn
INCLUDE_DIRS ${SYSREPO_PLUGIN_INCLUDE_DIRS}
INSTALL_FULL_PATH_DIR ${SRPD_PLUGINS_PATH}
DEFINITIONS ${COMPILER_DEFINITIONS}
-)
+) \ No newline at end of file