feat(Deps/Gperftools): make gperftools lib to interface (#5797)

This commit is contained in:
Kargatum
2021-05-13 11:10:46 +07:00
committed by GitHub
parent d04f4be6c5
commit 29d3dc3f2b
3 changed files with 11 additions and 1 deletions

1
deps/CMakeLists.txt vendored
View File

@@ -35,6 +35,7 @@ if(SERVERS)
add_subdirectory(readline)
add_subdirectory(jemalloc)
add_subdirectory(gsoap)
add_subdirectory(gperftools)
endif()
if(TOOLS)

9
deps/gperftools/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,9 @@
#
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
#
add_library(gperftools INTERFACE)
target_link_libraries(gperftools
INTERFACE
${GPERFTOOLS_LIBRARIES})

View File

@@ -61,7 +61,7 @@ target_link_libraries(worldserver
scripts
gsoap
readline
${GPERFTOOLS_LIBRARIES})
gperftools)
set_target_properties(worldserver
PROPERTIES