mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(Deps/Gperftools): make gperftools lib to interface (#5797)
This commit is contained in:
1
deps/CMakeLists.txt
vendored
1
deps/CMakeLists.txt
vendored
@@ -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
9
deps/gperftools/CMakeLists.txt
vendored
Normal 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})
|
||||
@@ -61,7 +61,7 @@ target_link_libraries(worldserver
|
||||
scripts
|
||||
gsoap
|
||||
readline
|
||||
${GPERFTOOLS_LIBRARIES})
|
||||
gperftools)
|
||||
|
||||
set_target_properties(worldserver
|
||||
PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user