Module: kamailio
Branch: master
Commit: f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3
URL:
https://github.com/kamailio/kamailio/commit/f69b22ce3cdc2c06739c11f19c9ebeb…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-01-24T09:59:18Z
cmake: Install snmpstats files
---
Modified: src/modules/snmpstats/CMakeLists.txt
---
Diff:
https://github.com/kamailio/kamailio/commit/f69b22ce3cdc2c06739c11f19c9ebeb…
Patch:
https://github.com/kamailio/kamailio/commit/f69b22ce3cdc2c06739c11f19c9ebeb…
---
diff --git a/src/modules/snmpstats/CMakeLists.txt b/src/modules/snmpstats/CMakeLists.txt
index fa3980030db..ac416979da7 100644
--- a/src/modules/snmpstats/CMakeLists.txt
+++ b/src/modules/snmpstats/CMakeLists.txt
@@ -7,3 +7,8 @@ find_package(NETSNMP REQUIRED)
# TODO: Compiles fine but need to do some more verifcation
target_link_libraries(${module_name} PRIVATE NETSNMP::NETSNMP)
+
+install(
+ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/mibs
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/snmp/
+ OPTIONAL)