Module: kamailio
Branch: master
Commit: b0dee2ff21a6d81b431b9d75ba364e10e7a2d253
URL:
https://github.com/kamailio/kamailio/commit/b0dee2ff21a6d81b431b9d75ba364e1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/b0dee2ff21a6d81b431b9d75ba364e1…
Patch:
https://github.com/kamailio/kamailio/commit/b0dee2ff21a6d81b431b9d75ba364e1…
---
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})