Module: kamailio
Branch: master
Commit: 106b0aa376e5c1dd1dc29373c1e0c7ac3579053c
URL: 
https://github.com/kamailio/kamailio/commit/106b0aa376e5c1dd1dc29373c1e0c7ac3579053c

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-01-30T13:11:55+01:00

websocket: CMakeLists.txt - add macports paths

- GH #4576

---

Modified: src/modules/websocket/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/106b0aa376e5c1dd1dc29373c1e0c7ac3579053c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/106b0aa376e5c1dd1dc29373c1e0c7ac3579053c.patch

---

diff --git a/src/modules/websocket/CMakeLists.txt 
b/src/modules/websocket/CMakeLists.txt
index d611fe1bd3e..94aa41ac330 100644
--- a/src/modules/websocket/CMakeLists.txt
+++ b/src/modules/websocket/CMakeLists.txt
@@ -7,5 +7,9 @@ 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)
 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