mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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 60a29f7614)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user