Module: kamailio
Branch: 6.0
Commit: 728cc1e16b3c86b239b21311236d3b93e30af36f
URL: 
https://github.com/kamailio/kamailio/commit/728cc1e16b3c86b239b21311236d3b93e30af36f

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2026-03-09T15:22:01Z

websocket: cmake: Use find_package to find unistring

(cherry picked from commit f0437e30ce60fdbab1f56963ca15d04c9da43c30)

---

Modified: src/modules/websocket/CMakeLists.txt

---

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

---

diff --git a/src/modules/websocket/CMakeLists.txt 
b/src/modules/websocket/CMakeLists.txt
index e0f0383a655..51f05363c1a 100644
--- a/src/modules/websocket/CMakeLists.txt
+++ b/src/modules/websocket/CMakeLists.txt
@@ -11,5 +11,6 @@ option(EMBEDDED_UTF8_DECODE "Use embedded UTF-8 decode 
(websocket module)" OFF)
 if(EMBEDDED_UTF8_DECODE)
   target_compile_definitions(${module_name} PRIVATE EMBEDDED_UTF8_DECODE)
 else()
-  target_link_libraries(${module_name} PRIVATE unistring)
+  find_package(Unistring REQUIRED)
+  target_link_libraries(${module_name} PRIVATE Unistring::Unistring)
 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