aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-06-08 20:45:12 +0200
committerDDuarte <dnpd.dd@gmail.com>2015-06-26 03:23:21 +0100
commita8e7bfe05b5d4834b0a43f76f042607ebeb39026 (patch)
treeb0e2ce6862771e7c3ef0ebf8c3cb47f2519642da
parentb2a987267db633748b8f8874370c80cd44950f87 (diff)
Core/Misc: Disable G3D buffer pools if jemalloc is enabled
(cherry picked from commit d78eae1eafc2319144a28f8447578e6ebdfca39e)
-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()