From d05b9e0a2e143ac122cdff8f980428f69d0e14c7 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 3 Oct 2018 12:54:21 +0200 Subject: Fix build with older CMake versions that we still need to support. --- intern/guardedalloc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/guardedalloc') diff --git a/intern/guardedalloc/CMakeLists.txt b/intern/guardedalloc/CMakeLists.txt index 7f648cff27c..3cec2fd1016 100644 --- a/intern/guardedalloc/CMakeLists.txt +++ b/intern/guardedalloc/CMakeLists.txt @@ -54,7 +54,7 @@ if(WIN32 AND NOT UNIX) endif() # Jemalloc 5.0.0+ needs extra configuration. -if(WITH_MEM_JEMALLOC AND ("${JEMALLOC_VERSION}" VERSION_GREATER_EQUAL "5.0.0")) +if(WITH_MEM_JEMALLOC AND NOT ("${JEMALLOC_VERSION}" VERSION_LESS "5.0.0")) add_definitions(-DWITH_JEMALLOC_CONF) endif() -- cgit v1.2.3