Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-03 13:54:21 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-03 13:55:43 +0300
commitd05b9e0a2e143ac122cdff8f980428f69d0e14c7 (patch)
treee335d9f06cc23e7f9b367c17afa6162bcdf951f9 /intern
parentd2da3af073a63b6ae25119ebbd2e0d3c9a1b6823 (diff)
Fix build with older CMake versions that we still need to support.
Diffstat (limited to 'intern')
-rw-r--r--intern/guardedalloc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()