]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another fix for shmem detection on build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 13:25:11 +0000 (14:25 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 13:25:11 +0000 (14:25 +0100)
CMakeLists.txt

index a2c539cea0b500f426af133698d8497fbd2d1859..61b78e3a54391601081167dde75e13395f076528 100644 (file)
@@ -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 <sys/mman.h>