1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

lua: use LUA_CFLAGS from pkg-config

This commit is contained in:
Albert Lee
2025-05-16 01:35:58 +00:00
committed by Sébastien Helleu
parent e6d850daa0
commit c1115c04d5
+1
View File
@@ -25,6 +25,7 @@ add_library(lua MODULE
set_target_properties(lua PROPERTIES PREFIX "")
if(LUA_FOUND)
add_definitions(${LUA_CFLAGS})
include_directories(${LUA_INCLUDE_DIRS})
target_link_libraries(lua ${LUA_LDFLAGS} weechat_plugins_scripts coverage_config)
endif()