summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2dda7cf..0fb648a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,8 +76,13 @@ install (TARGETS plugin-http DESTINATION ${plugin_dir})
# Build the other plugins
set (plugins irc ssh)
+set (lua_plugins socks)
+
if (WITH_LUA)
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)
foreach (plugin ${plugins})
set (target plugin-${plugin})