Module: kamailio
Branch: master
Commit: 441b7c861e0d1324b642493175e28b7d8a41a974
URL: 
https://github.com/kamailio/kamailio/commit/441b7c861e0d1324b642493175e28b7d8a41a974

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2026-01-21T16:55:57+02:00

erlang: cmake: Add missing dependencies

---

Modified: src/modules/erlang/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/441b7c861e0d1324b642493175e28b7d8a41a974.diff
Patch: 
https://github.com/kamailio/kamailio/commit/441b7c861e0d1324b642493175e28b7d8a41a974.patch

---

diff --git a/src/modules/erlang/CMakeLists.txt 
b/src/modules/erlang/CMakeLists.txt
index db92655b497..86cb1593d46 100644
--- a/src/modules/erlang/CMakeLists.txt
+++ b/src/modules/erlang/CMakeLists.txt
@@ -4,7 +4,8 @@ add_library(${module_name} SHARED ${MODULE_SOURCES})
 
 # erlang-dev
 find_package(Erlang REQUIRED)
+find_package(Threads REQUIRED)
 
-target_link_libraries(${module_name} PRIVATE Erlang::Erlang)
+target_link_libraries(${module_name} PRIVATE Erlang::Erlang Erlang::EI 
Threads::Threads)
 target_include_directories(${module_name} PRIVATE ${Erlang_INCLUDE_DIRS})
 target_compile_definitions(${module_name} PRIVATE _REENTRANT)

_______________________________________________
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