This commit is contained in:
aozhiwei 2019-12-05 11:06:56 +08:00
parent e8db19c214
commit 9012ddf5ad
2 changed files with 38 additions and 18 deletions

View File

@ -81,20 +81,40 @@ add_custom_command(TARGET script_pb_protocol
) )
add_dependencies(gameserver script_pb_protocol) add_dependencies(gameserver script_pb_protocol)
target_link_libraries( if (CMAKE_BUILD_TYPE STREQUAL "Debug")
gameserver target_link_libraries(
pthread gameserver
mysqlclient pthread
protobuf mysqlclient
rt protobuf
dl rt
util dl
crypto util
ssl crypto
jsoncpp ssl
curl jsoncpp
hiredis curl
tinyxml2 hiredis
tcmalloc tinyxml2
behaviac_gcc_release tcmalloc
) behaviac_gcc_debug
)
else()
target_link_libraries(
gameserver
pthread
mysqlclient
protobuf
rt
dl
util
crypto
ssl
jsoncpp
curl
hiredis
tinyxml2
tcmalloc
behaviac_gcc_release
)
endif()

@ -1 +1 @@
Subproject commit b9f2f205afe3226fa06b6a3b9e62fcd6eaca63b8 Subproject commit 240414570ee2848291d24ff8d3102dc43d4104a3