diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-09 20:48:48 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-09 20:48:48 +0100 |
commit | 17164b69b71c1afd14ae1b8ddbcb5328067f8568 (patch) | |
tree | a9211fa9fb071add1c39fa73a5ee6603fb51e236 | |
parent | 30a6af515d04af106853b42216c7c9c945787502 (diff) | |
download | ponymap-17164b69b71c1afd14ae1b8ddbcb5328067f8568.tar.gz ponymap-17164b69b71c1afd14ae1b8ddbcb5328067f8568.tar.xz ponymap-17164b69b71c1afd14ae1b8ddbcb5328067f8568.zip |
Make sure to install Lua plugins if enabled
-rw-r--r-- | CMakeLists.txt | 5 |
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}) |