aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform/unix
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-06-08 20:45:12 +0200
committerjackpoz <giacomopoz@gmail.com>2015-06-08 20:49:54 +0200
commitd78eae1eafc2319144a28f8447578e6ebdfca39e (patch)
tree1c83e3130b1f9d5f79c2ad54241c3134159f10aa /cmake/platform/unix
parentdbaf88566be7083408fb8324d7886dc3e0a45cc0 (diff)
Core/Misc: Disable G3D buffer pools if jemalloc is enabled
Diffstat (limited to 'cmake/platform/unix')
-rw-r--r--cmake/platform/unix/settings.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake
index 04d21863f6c..754ff450fcc 100644
--- a/cmake/platform/unix/settings.cmake
+++ b/cmake/platform/unix/settings.cmake
@@ -2,6 +2,7 @@
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if (NOT NOJEM)
set(JEMALLOC_LIBRARY "jemalloc")
+ add_definitions(-DNO_BUFFERPOOL)
message(STATUS "UNIX: Using jemalloc")
endif()
endif()