summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-24 18:15:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-24 18:15:33 +0100
commite713036bd37c2acab7090b2a16e75c662fbc37d3 (patch)
tree2f6fa92e160d9f5d120eb584792da8b3a5fc7e0b /CMakeLists.txt
parent7126e571034a702eca00159f10b4753e7b10af2d (diff)
downloadrspamd-e713036bd37c2acab7090b2a16e75c662fbc37d3.tar.gz
rspamd-e713036bd37c2acab7090b2a16e75c662fbc37d3.zip
Add WWWDIR macro to rspamd configuration.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b970df796..1b23cf333 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,6 +78,10 @@ IF(NOT PLUGINSDIR)
SET(PLUGINSDIR "${CMAKE_INSTALL_PREFIX}/share/rspamd")
ENDIF(NOT PLUGINSDIR)
+IF(NOT WWWDIR)
+ SET(WWWDIR "${CMAKE_INSTALL_PREFIX}/share/rspamd/www")
+ENDIF(NOT WWWDIR)
+
# Set libdir
IF(NOT LIBDIR)
SET(LIBDIR lib/rspamd)