Module: kamailio Branch: 6.0 Commit: 58109a52b91c852feda76261fa0c3cedff9e9ce5 URL: https://github.com/kamailio/kamailio/commit/58109a52b91c852feda76261fa0c3cedff9e9ce5
Author: Xenofon Karamanos <[email protected]> Committer: Ovidiu Sas <[email protected]> Date: 2026-02-14T03:25:12Z cmake: netsnmp: Use correct option for discovering linking libraries (cherry picked from commit 92540376d1ab794802f7a047389f68a079a23021) --- Modified: cmake/modules/FindNETSNMP.cmake --- Diff: https://github.com/kamailio/kamailio/commit/58109a52b91c852feda76261fa0c3cedff9e9ce5.diff Patch: https://github.com/kamailio/kamailio/commit/58109a52b91c852feda76261fa0c3cedff9e9ce5.patch --- diff --git a/cmake/modules/FindNETSNMP.cmake b/cmake/modules/FindNETSNMP.cmake index e25df1900ce..2fd4ff50078 100644 --- a/cmake/modules/FindNETSNMP.cmake +++ b/cmake/modules/FindNETSNMP.cmake @@ -39,7 +39,7 @@ find_program(NETSNMP_CONFIG_BIN net-snmp-config) if(NETSNMP_CONFIG_BIN) # Find libs required - execute_process(COMMAND ${NETSNMP_CONFIG_BIN} --libs OUTPUT_VARIABLE _NETSNMP_LIBS) + execute_process(COMMAND ${NETSNMP_CONFIG_BIN} --netsnmp-agent-libs OUTPUT_VARIABLE _NETSNMP_LIBS) # Strip trailing and leading whitespaces string(STRIP "${_NETSNMP_LIBS}" _NETSNMP_LIBS) # Create a list from the flags to be used in target_link_libraries and _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
