diff --git a/server/wsproxy/CMakeLists.txt b/server/wsproxy/CMakeLists.txt index 536a6fa..62980c3 100644 --- a/server/wsproxy/CMakeLists.txt +++ b/server/wsproxy/CMakeLists.txt @@ -8,6 +8,13 @@ else() message(GAME_ID: ${GAME_ID}) endif() +if (${LIB_DIR}) + message(LIB_DIR: ${LIB_DIR}) +else() + set(LIB_DIR ) + message(LIB_DIR: ${LIB_DIR} ) +endif() + if (${MASTER_MODE}) message(MASTER_MODE: 1) else() @@ -50,7 +57,7 @@ include_directories( link_directories( /usr/lib64/mysql /usr/local/lib - ../../third_party/behaviac/lib + ../../third_party/behaviac/lib/${LIB_DIR} ) aux_source_directory(../../third_party/a8engine/a8 @@ -110,7 +117,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug") hiredis tinyxml2 tcmalloc - behaviac_gcc_debug + behaviac_gcc_release ) else() target_link_libraries( diff --git a/third_party/behaviac b/third_party/behaviac index 2404145..5beca57 160000 --- a/third_party/behaviac +++ b/third_party/behaviac @@ -1 +1 @@ -Subproject commit 240414570ee2848291d24ff8d3102dc43d4104a3 +Subproject commit 5beca57f6555aa0d9e4de71c93653cade928a654