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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-12-04T11:02:12+01:00

jwt: CMakeLists.txt - update for finding libjwt with pkg-config

---

Modified: src/modules/jwt/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/b0dee2ff21a6d81b431b9d75ba364e10e7a2d253.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b0dee2ff21a6d81b431b9d75ba364e10e7a2d253.patch

---

diff --git a/src/modules/jwt/CMakeLists.txt b/src/modules/jwt/CMakeLists.txt
index 8e996e04e75..ddcba58bd66 100644
--- a/src/modules/jwt/CMakeLists.txt
+++ b/src/modules/jwt/CMakeLists.txt
@@ -9,7 +9,7 @@ if(NOT libjwt_FOUND)
   message(STATUS "libjwt not found... looking with pkg-config")
   find_package(PkgConfig REQUIRED)
   pkg_check_modules(jwt REQUIRED IMPORTED_TARGET libjwt>=1.12)
-  add_library(jwt::libjwt ALIAS PkgConfig::libjwt)
+  add_library(jwt::libjwt ALIAS PkgConfig::jwt)
 endif()
 
 add_library(jwt SHARED ${SRC_FILES})

_______________________________________________
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