feat(Deps/Gperftools): make gperftools lib to interface (#5797)
This commit is contained in:
Vendored
+1
@@ -35,6 +35,7 @@ if(SERVERS)
|
|||||||
add_subdirectory(readline)
|
add_subdirectory(readline)
|
||||||
add_subdirectory(jemalloc)
|
add_subdirectory(jemalloc)
|
||||||
add_subdirectory(gsoap)
|
add_subdirectory(gsoap)
|
||||||
|
add_subdirectory(gperftools)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(TOOLS)
|
if(TOOLS)
|
||||||
|
|||||||
Vendored
+9
@@ -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})
|
||||||
@@ -61,7 +61,7 @@ target_link_libraries(worldserver
|
|||||||
scripts
|
scripts
|
||||||
gsoap
|
gsoap
|
||||||
readline
|
readline
|
||||||
${GPERFTOOLS_LIBRARIES})
|
gperftools)
|
||||||
|
|
||||||
set_target_properties(worldserver
|
set_target_properties(worldserver
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
|
|||||||
Reference in New Issue
Block a user