From 17164b69b71c1afd14ae1b8ddbcb5328067f8568 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 9 Feb 2015 20:48:48 +0100
Subject: Make sure to install Lua plugins if enabled
---
CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
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})
--
cgit v1.2.3-70-g09d2