summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-08 15:18:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-08 15:18:01 +0100
commit98c33370d18a4a51331f5e20a9a76d8f78d3ead0 (patch)
treea81f18d73f7e3b046be2c9b94b1bc5fd2fe681e4
parentc6949b0fd245c44d4453904775b192837e084a90 (diff)
downloadrspamd-98c33370d18a4a51331f5e20a9a76d8f78d3ead0.tar.gz
rspamd-98c33370d18a4a51331f5e20a9a76d8f78d3ead0.zip
Honor CMAKE_INSTALL_PREFIX.
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3ca07b0a5..b4bea8495 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
SET(MAN_PREFIX "${CMAKE_INSTALL_PREFIX}/man")
ENDIF(NOT MAN_PREFIX)
IF(NOT LOCALSTATES_PREFIX)
- SET(LOCALSTATES_PREFIX "/var/run/rspamd")
+ SET(LOCALSTATES_PREFIX "${CMAKE_INSTALL_PREFIX}/var/run/rspamd")
ENDIF(NOT LOCALSTATES_PREFIX)
SET(PREFIX "${CMAKE_INSTALL_PREFIX}")
ELSE(CMAKE_INSTALL_PREFIX)
@@ -187,7 +187,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(MAN_PREFIX "${CMAKE_INSTALL_PREFIX}/man")
ENDIF(NOT MAN_PREFIX)
IF(NOT LOCALSTATES_PREFIX)
- SET(LOCALSTATES_PREFIX "/var/run/rspamd")
+ SET(LOCALSTATES_PREFIX "${CMAKE_INSTALL_PREFIX}/var/run/rspamd")
ENDIF(NOT LOCALSTATES_PREFIX)
SET(PREFIX "${CMAKE_INSTALL_PREFIX}")
ELSE(CMAKE_INSTALL_PREFIX)
@@ -226,7 +226,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
SET(MAN_PREFIX "${CMAKE_INSTALL_PREFIX}/share/man")
ENDIF(NOT MAN_PREFIX)
IF(NOT LOCALSTATES_PREFIX)
- SET(LOCALSTATES_PREFIX "/var/run/rspamd")
+ SET(LOCALSTATES_PREFIX "${CMAKE_INSTALL_PREFIX}/var/run/rspamd")
ENDIF(NOT LOCALSTATES_PREFIX)
SET(PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -365,7 +365,7 @@ IF(NOT MAN_PREFIX)
ENDIF(NOT MAN_PREFIX)
IF(NOT LOCALSTATES_PREFIX)
IF(CMAKE_INSTALL_PREFIX)
- SET(LOCALSTATES_PREFIX "/var/run/rspamd")
+ SET(LOCALSTATES_PREFIX "${CMAKE_INSTALL_PREFIX}/var/run/rspamd")
ENDIF(CMAKE_INSTALL_PREFIX)
ENDIF(NOT LOCALSTATES_PREFIX)