Extended to shared database

This commit is contained in:
KimLS
2015-02-06 00:17:12 -08:00
parent 05df5c3e74
commit b5d33c7cbe
6 changed files with 77 additions and 3 deletions
+3
View File
@@ -73,10 +73,12 @@ TARGET_LINK_LIBRARIES(world common ${PERF_LIBS} ${PERL_LIBRARY} debug ${MySQL_LI
IF(MSVC)
SET_TARGET_PROPERTIES(world PROPERTIES LINK_FLAGS_RELEASE "/OPT:REF /OPT:ICF")
TARGET_LINK_LIBRARIES(world "Ws2_32.lib")
TARGET_LINK_LIBRARIES(world "rpcrt4")
ENDIF(MSVC)
IF(MINGW)
TARGET_LINK_LIBRARIES(world "WS2_32")
TARGET_LINK_LIBRARIES(world "rpcrt4")
ENDIF(MINGW)
IF(UNIX)
@@ -87,6 +89,7 @@ IF(UNIX)
TARGET_LINK_LIBRARIES(world "rt")
ENDIF(NOT DARWIN)
TARGET_LINK_LIBRARIES(world "pthread")
TARGET_LINK_LIBRARIES(world "uuid")
ADD_DEFINITIONS(-fPIC)
ENDIF(UNIX)