Buildsystem: Clean up target link-definitions a bit

--HG--
branch : trunk
This commit is contained in:
click
2010-08-30 22:58:37 +02:00
parent 376958d474
commit 511d571d25
8 changed files with 49 additions and 109 deletions
+18 -36
View File
@@ -167,42 +167,24 @@ else()
set(SCRIPT_LIB "")
endif()
if( WIN32 )
target_link_libraries(
worldserver
game
shared
zlib
trinitysockets
collision
g3dlib
gsoap
ace
${SCRIPT_LIB}
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OPENSSL_EXTRA_LIBRARIES}
)
else()
target_link_libraries(
worldserver
game
shared
trinitysockets
collision
g3dlib
gsoap
${JEMALLOC_LIB}
${SCRIPT_LIB}
${READLINE_LIBRARY}
${TERMCAP_LIBRARY}
${ACE_LIBRARY}
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${ZLIB_LIBRARIES}
${OSX_LIBS}
)
endif()
target_link_libraries(worldserver
game
shared
trinitysockets
collision
g3dlib
gsoap
${JEMALLOC_LIB}
${SCRIPT_LIB}
${READLINE_LIBRARY}
${TERMCAP_LIBRARY}
${ACE_LIBRARY}
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OPENSSL_EXTRA_LIBRARIES}
${ZLIB_LIBRARIES}
${OSX_LIBS}
)
if( WIN32 )
add_custom_command(TARGET worldserver