Module: kamailio Branch: 6.0 Commit: 3adaab6c56657bc73cd83e0b7bbcd158efb070c1 URL: https://github.com/kamailio/kamailio/commit/3adaab6c56657bc73cd83e0b7bbcd158...
Author: Xenofon Karamanos xk@gilawa.com Committer: Xenofon Karamanos 22965395+xkaraman@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/3adaab6c56657bc73cd83e0b7bbcd158... Patch: https://github.com/kamailio/kamailio/commit/3adaab6c56657bc73cd83e0b7bbcd158...
---
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)