summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/CMakeLists.txt2
-rw-r--r--plugin/firewall/iptables/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
index 82fbb6e..2ac083e 100644
--- a/plugin/CMakeLists.txt
+++ b/plugin/CMakeLists.txt
@@ -47,7 +47,7 @@ ADD_LIBRARY(eurephia-auth MODULE ${eurephia_auth_SRC})
TARGET_LINK_LIBRARIES(eurephia-auth dl pthread rt crypto)
SET_TARGET_PROPERTIES(eurephia-auth PROPERTIES OUTPUT_NAME eurephia-auth PREFIX "")
-INSTALL(TARGETS eurephia-auth LIBRARY DESTINATION ${PREFIX})
+INSTALL(TARGETS eurephia-auth LIBRARY DESTINATION ${PLUGINDIR})
IF(subdirs)
SUBDIRS(${subdirs})
diff --git a/plugin/firewall/iptables/CMakeLists.txt b/plugin/firewall/iptables/CMakeLists.txt
index fa9c4c5..69173d7 100644
--- a/plugin/firewall/iptables/CMakeLists.txt
+++ b/plugin/firewall/iptables/CMakeLists.txt
@@ -10,4 +10,4 @@ INCLUDE_DIRECTORIES(BEFORE ../..)
ADD_LIBRARY(efw-iptables MODULE ${efw_ipt_SRC})
TARGET_LINK_LIBRARIES(efw-iptables pthread rt gcc_s)
SET_TARGET_PROPERTIES(efw-iptables PROPERTIES PREFIX "")
-INSTALL(TARGETS efw-iptables LIBRARY DESTINATION ${PREFIX})
+INSTALL(TARGETS efw-iptables LIBRARY DESTINATION ${PLUGINDIR})