1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +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 d7b26e88b8
commit 48568edfe0
+1
View File
@@ -27,6 +27,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()