Make sure to install Lua plugins if enabled
This commit is contained in:
parent
30a6af515d
commit
17164b69b7
|
@ -76,8 +76,13 @@ install (TARGETS plugin-http DESTINATION ${plugin_dir})
|
||||||
|
|
||||||
# Build the other plugins
|
# Build the other plugins
|
||||||
set (plugins irc ssh)
|
set (plugins irc ssh)
|
||||||
|
set (lua_plugins socks)
|
||||||
|
|
||||||
if (WITH_LUA)
|
if (WITH_LUA)
|
||||||
list (APPEND plugins lua-loader)
|
list (APPEND plugins lua-loader)
|
||||||
|
foreach (lua_plugin ${lua_plugins})
|
||||||
|
install (FILES plugins/${lua_plugin}.lua DESTINATION ${plugin_dir})
|
||||||
|
endforeach (lua_plugin)
|
||||||
endif (WITH_LUA)
|
endif (WITH_LUA)
|
||||||
foreach (plugin ${plugins})
|
foreach (plugin ${plugins})
|
||||||
set (target plugin-${plugin})
|
set (target plugin-${plugin})
|
||||||
|
|
Loading…
Reference in New Issue