[Bf-blender-cvs] [d05b9e0a2e1] master: Fix build with older CMake versions that we still need to support.

Brecht Van Lommel noreply at git.blender.org
Wed Oct 3 12:56:28 CEST 2018


Commit: d05b9e0a2e143ac122cdff8f980428f69d0e14c7
Author: Brecht Van Lommel
Date:   Wed Oct 3 12:54:21 2018 +0200
Branches: master
https://developer.blender.org/rBd05b9e0a2e143ac122cdff8f980428f69d0e14c7

Fix build with older CMake versions that we still need to support.

===================================================================

M	intern/guardedalloc/CMakeLists.txt

===================================================================

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()



More information about the Bf-blender-cvs mailing list