aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)