Module: kamailio
Branch: 6.0
Commit: 3adaab6c56657bc73cd83e0b7bbcd158efb070c1
URL: 
https://github.com/kamailio/kamailio/commit/3adaab6c56657bc73cd83e0b7bbcd158efb070c1

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Date: 2025-01-29T10:21:15Z

cmake: Install snmpstats files

(cherry picked from commit f69b22ce3cdc2c06739c11f19c9ebeb5eb1727f3)

---

Modified: src/modules/snmpstats/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/3adaab6c56657bc73cd83e0b7bbcd158efb070c1.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3adaab6c56657bc73cd83e0b7bbcd158efb070c1.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