aboutsummaryrefslogtreecommitdiff
path: root/dep/jemalloc
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-06-20 22:54:53 +0200
committerDDuarte <dnpd.dd@gmail.com>2015-06-26 03:30:11 +0100
commitc0f56fbfd87172eec5073729f98b42434c8364a2 (patch)
tree074f603d8c13d1d252d3ef5a6a500657270cbfd7 /dep/jemalloc
parenta3faa57f3b623cfb7eafa56745d93d66061e2f35 (diff)
Core/Misc: Add valgrind support for jemalloc
Set CMake option VALGRIND to add valgrind support to jemalloc. Set CMake parameter VALGRIND_INCLUDE_DIR to the valgrind include directory. (cherry picked from commit 60a29f761467c0ac76129f2f761ca0de9e7d237d)
Diffstat (limited to 'dep/jemalloc')
-rw-r--r--dep/jemalloc/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/dep/jemalloc/CMakeLists.txt b/dep/jemalloc/CMakeLists.txt
index db3c18dbb02..8f0692fc82c 100644
--- a/dep/jemalloc/CMakeLists.txt
+++ b/dep/jemalloc/CMakeLists.txt
@@ -53,6 +53,7 @@ set(jemalloc_STAT_SRC
include_directories(
${BUILDDIR}/
${CMAKE_CURRENT_SOURCE_DIR}/include
+ ${VALGRIND_INCLUDE_DIR}
)
add_definitions(-D_GNU_SOURCE -D_REENTRANT)