From 4bedefb1e77150fcaaf03c4d17ba6a32b9e80e7a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 11 Jul 2016 14:25:11 +0100 Subject: [PATCH] [Minor] Another fix for shmem detection on build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2c539cea..61b78e3a5 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 -- 2.39.5