Module: kamailio Branch: 6.1 Commit: 4dbc6b328ba063cca6005819b845dfb15871b15a URL: https://github.com/kamailio/kamailio/commit/4dbc6b328ba063cca6005819b845dfb15871b15a
Author: Xenofon Karamanos <[email protected]> Committer: Xenofon Karamanos <[email protected]> Date: 2026-03-09T15:22:49Z 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/4dbc6b328ba063cca6005819b845dfb15871b15a.diff Patch: https://github.com/kamailio/kamailio/commit/4dbc6b328ba063cca6005819b845dfb15871b15a.patch --- diff --git a/src/modules/websocket/CMakeLists.txt b/src/modules/websocket/CMakeLists.txt index 94aa41ac330..9d2e1594c89 100644 --- a/src/modules/websocket/CMakeLists.txt +++ b/src/modules/websocket/CMakeLists.txt @@ -7,9 +7,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() - if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - target_include_directories(${module_name} PRIVATE /opt/local/include) - target_link_directories(${module_name} PRIVATE /opt/local/lib) - endif() - 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!
