mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Dep/jemalloc: Fixed valgrind intergration
(cherry picked from commit a422dad870)
This commit is contained in:
@@ -52,6 +52,10 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT NOJEM)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/util.c
|
||||
)
|
||||
|
||||
if (VALGRIND)
|
||||
set(jemalloc_STAT_SRC ${jemalloc_STAT_SRC} ${CMAKE_CURRENT_SOURCE_DIR}/src/valgrind.c)
|
||||
endif()
|
||||
|
||||
add_library(jemalloc STATIC ${jemalloc_STAT_SRC})
|
||||
|
||||
target_include_directories(jemalloc
|
||||
|
||||
Reference in New Issue
Block a user