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

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

app_ruby: cmake: Add missing dependencies

---

Modified: src/modules/app_ruby/CMakeLists.txt

---

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

---

diff --git a/src/modules/app_ruby/CMakeLists.txt 
b/src/modules/app_ruby/CMakeLists.txt
index 9c8de963961..8651e1bb25b 100644
--- a/src/modules/app_ruby/CMakeLists.txt
+++ b/src/modules/app_ruby/CMakeLists.txt
@@ -1,3 +1,9 @@
 file(GLOB MODULE_SOURCES "*.c")
 
 add_library(${module_name} SHARED ${MODULE_SOURCES})
+
+find_package(Ruby REQUIRED)
+find_package(Threads REQUIRED)
+
+target_include_directories(${module_name} PRIVATE ${RUBY_INCLUDE_DIRS})
+target_link_libraries(${module_name} PRIVATE ${RUBY_LIBRARY} Threads::Threads 
${CMAKE_DL_LIBS})

_______________________________________________
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