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

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-03-09T18:52:02+01:00

app_lua: [cmake] set missing LUA_INCLUDE_DIR when using PkgConfig

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

---

Modified: src/modules/app_lua/CMakeLists.txt

---

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

---

diff --git a/src/modules/app_lua/CMakeLists.txt 
b/src/modules/app_lua/CMakeLists.txt
index 827238531cb..fb3497efc78 100644
--- a/src/modules/app_lua/CMakeLists.txt
+++ b/src/modules/app_lua/CMakeLists.txt
@@ -12,6 +12,7 @@ else()
   if(NOT Lua_FOUND)
     find_package(PkgConfig REQUIRED)
     pkg_check_modules(LUA REQUIRED IMPORTED_TARGET lua)
+    set(LUA_INCLUDE_DIR ${LUA_INCLUDE_DIRS})
   endif()
 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