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

This commit is contained in:
Brecht Van Lommel 2018-10-03 12:54:21 +02:00
parent d2da3af073
commit d05b9e0a2e

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