From: Vsevolod Stakhov Date: Mon, 11 Jul 2016 13:25:11 +0000 (+0100) Subject: [Minor] Another fix for shmem detection on build X-Git-Tag: 1.3.0~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bedefb1e77150fcaaf03c4d17ba6a32b9e80e7a;p=thirdparty%2Frspamd.git [Minor] Another fix for shmem detection on build --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a2c539cea0..61b78e3a54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1055,7 +1055,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") # In linux, we need to mount /run/shm to test which could be unavailable # on a build system. On the other hand, we know that linux has stupid # but compatible shmem support, so we assume this macro as true - SET(CACHE HAVE_SANE_SHMEM 1) + SET(HAVE_SANE_SHMEM 1) ELSE() CHECK_C_SOURCE_RUNS(" #include