Module: kamailio
Branch: master
Commit: f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3
URL: 
https://github.com/kamailio/kamailio/commit/f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@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/f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3.patch

---

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)

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to