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
+7 -17
View File
@@ -84,23 +84,13 @@ endif()
set_target_properties(authserver PROPERTIES LINK_FLAGS "${authserver_LINK_FLAGS}")
if( WIN32 )
target_link_libraries(
authserver
shared
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OPENSSL_EXTRA_LIBRARIES}
)
else()
target_link_libraries(
authserver
shared
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OSX_LIBS}
)
endif()
target_link_libraries(authserver
shared
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OPENSSL_EXTRA_LIBRARIES}
${OSX_LIBS}
)
if( WIN32 )
add_custom_command(TARGET authserver