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

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

app_ruby_proc: cmake: Add missing dependencies

---

Modified: src/modules/app_ruby_proc/CMakeLists.txt

---

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

---

diff --git a/src/modules/app_ruby_proc/CMakeLists.txt 
b/src/modules/app_ruby_proc/CMakeLists.txt
index af56b01cfc8..f8a70a0adee 100644
--- a/src/modules/app_ruby_proc/CMakeLists.txt
+++ b/src/modules/app_ruby_proc/CMakeLists.txt
@@ -4,6 +4,7 @@ add_library(${module_name} SHARED ${MODULE_SOURCES})
 
 # ruby-dev package
 find_package(Ruby REQUIRED)
+find_package(Threads REQUIRED)
 
-target_include_directories(${module_name} PRIVATE ${Ruby_INCLUDE_DIRS})
-target_link_libraries(${module_name} PRIVATE ${Ruby_LIBRARIES})
+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