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,6 +81,25 @@ add_custom_command(TARGET script_pb_protocol
) )
add_dependencies(gameserver script_pb_protocol) add_dependencies(gameserver script_pb_protocol)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_link_libraries(
gameserver
pthread
mysqlclient
protobuf
rt
dl
util
crypto
ssl
jsoncpp
curl
hiredis
tinyxml2
tcmalloc
behaviac_gcc_debug
)
else()
target_link_libraries( target_link_libraries(
gameserver gameserver
pthread pthread
@ -98,3 +117,4 @@ target_link_libraries(
tcmalloc tcmalloc
behaviac_gcc_release behaviac_gcc_release
) )
endif()

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