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

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-03-09T14:16:32+01:00

app_lua: [cmake] use proper lua include var

> https://cmake.org/cmake/help/latest/module/FindLua.html

---

Modified: src/modules/app_lua/CMakeLists.txt

---

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

---

diff --git a/src/modules/app_lua/CMakeLists.txt 
b/src/modules/app_lua/CMakeLists.txt
index e3297fc5471..827238531cb 100644
--- a/src/modules/app_lua/CMakeLists.txt
+++ b/src/modules/app_lua/CMakeLists.txt
@@ -18,5 +18,5 @@ endif()
 # the LUA_COMPAT_MODULE fixes this error: - implicit declaration of function
 # luaL_openlib
 target_compile_definitions(${module_name} PRIVATE LUA_COMPAT_MODULE)
-target_include_directories(${module_name} PRIVATE ${LUA_INCLUDE_DIRS})
+target_include_directories(${module_name} PRIVATE ${LUA_INCLUDE_DIR})
 target_link_libraries(${module_name} PRIVATE ${LUA_LIBRARIES})

_______________________________________________
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