Module: kamailio
Branch: master
Commit: 5a3585a43d91ecbff4d0733eae898a2068356758
URL:
https://github.com/kamailio/kamailio/commit/5a3585a43d91ecbff4d0733eae898a2…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
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/5a3585a43d91ecbff4d0733eae898a2…
Patch:
https://github.com/kamailio/kamailio/commit/5a3585a43d91ecbff4d0733eae898a2…
---
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()