Module: kamailio Branch: master Commit: 637ea00e99c400020a9b2a2c20474ef080cfaccb URL: https://github.com/kamailio/kamailio/commit/637ea00e99c400020a9b2a2c20474ef080cfaccb
Author: Xenofon Karamanos <[email protected]> Committer: Xenofon Karamanos <[email protected]> Date: 2026-01-26T17:45:19Z auth_arnacon: cmake: Use pkg-config --- Modified: src/modules/auth_arnacon/CMakeLists.txt --- Diff: https://github.com/kamailio/kamailio/commit/637ea00e99c400020a9b2a2c20474ef080cfaccb.diff Patch: https://github.com/kamailio/kamailio/commit/637ea00e99c400020a9b2a2c20474ef080cfaccb.patch --- diff --git a/src/modules/auth_arnacon/CMakeLists.txt b/src/modules/auth_arnacon/CMakeLists.txt index f92df4ee658..9c8fd49c4b7 100644 --- a/src/modules/auth_arnacon/CMakeLists.txt +++ b/src/modules/auth_arnacon/CMakeLists.txt @@ -1,7 +1,10 @@ file(GLOB MODULE_SOURCES "*.c") find_package(CURL REQUIRED) -find_package(libsecp256k1 0.5 REQUIRED CONFIG) + +find_package(PkgConfig REQUIRED) +pkg_check_modules(libsecp256k1 REQUIRED IMPORTED_TARGET libsecp256k1>=0.5) +add_library(libsecp256k1::secp256k1 ALIAS PkgConfig::libsecp256k1) add_library(${module_name} SHARED ${MODULE_SOURCES}) _______________________________________________ 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!
