Fix build with older CMake versions that we still need to support.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user