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

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2025-01-07T13:39:16Z

cmake/kamcmd: Add alias if readline found

---

Modified: utils/kamcmd/CMakeLists.txt

---

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

---

diff --git a/utils/kamcmd/CMakeLists.txt b/utils/kamcmd/CMakeLists.txt
index c5e039a4d35..e61e9327c24 100644
--- a/utils/kamcmd/CMakeLists.txt
+++ b/utils/kamcmd/CMakeLists.txt
@@ -19,6 +19,7 @@ pkg_check_modules(READLINE IMPORTED_TARGET readline)
 add_library(readline::readline ALIAS PkgConfig::READLINE)
 
 if(READLINE_FOUND)
+  add_library(readline::readline ALIAS PkgConfig::READLINE)
   target_compile_definitions(${NAME} PRIVATE USE_READLINE)
 endif()
 

_______________________________________________
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