Module: kamailio
Branch: 6.0
Commit: 28d718c8caeff0e1780c553d5364246207e1420d
URL: 
https://github.com/kamailio/kamailio/commit/28d718c8caeff0e1780c553d5364246207e1420d

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2025-10-06T11:30:00Z

topos_redis: cmake: Use consistent naming across modules

(cherry picked from commit 5d73826c9b3b7ececf01358a7396e5e395f15872)

---

Modified: src/modules/topos_redis/CMakeLists.txt

---

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

---

diff --git a/src/modules/topos_redis/CMakeLists.txt 
b/src/modules/topos_redis/CMakeLists.txt
index c4ca770ac33..fdc521777ac 100644
--- a/src/modules/topos_redis/CMakeLists.txt
+++ b/src/modules/topos_redis/CMakeLists.txt
@@ -3,7 +3,7 @@ file(GLOB MODULE_SOURCES "*.c")
 add_library(${module_name} SHARED ${MODULE_SOURCES})
 
 find_package(PkgConfig REQUIRED)
-pkg_check_modules(redis REQUIRED IMPORTED_TARGET hiredis)
-add_library(redis::redis ALIAS PkgConfig::redis)
+pkg_check_modules(hiredis REQUIRED IMPORTED_TARGET hiredis)
+add_library(hiredis::hiredis ALIAS PkgConfig::hiredis)
 
-target_link_libraries(${module_name} PRIVATE redis::redis)
+target_link_libraries(${module_name} PRIVATE hiredis::hiredis)

_______________________________________________
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!

Reply via email to