aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
diff options
context:
space:
mode:
authorclick <none@none>2010-06-30 16:51:37 +0200
committerclick <none@none>2010-06-30 16:51:37 +0200
commitf8bb7afa9817411beda1f2492d18c61679e9a5f9 (patch)
treee540447cf30fee482256f26ec1a298c565034b18 /src/server/authserver
parentfc1ed4b1099b05137b6c72a09b058b56936c2225 (diff)
And even more CMake-specific cleanups (mutes most of the "non-harmful" warnings - VS is just trying to be too friendly/noisy at times)
--HG-- branch : trunk
Diffstat (limited to 'src/server/authserver')
-rw-r--r--src/server/authserver/CMakeLists.txt47
1 files changed, 24 insertions, 23 deletions
diff --git a/src/server/authserver/CMakeLists.txt b/src/server/authserver/CMakeLists.txt
index 956010da987..e97bcfbea88 100644
--- a/src/server/authserver/CMakeLists.txt
+++ b/src/server/authserver/CMakeLists.txt
@@ -57,29 +57,30 @@ endif()
set_target_properties(authserver PROPERTIES LINK_FLAGS "${authserver_LINK_FLAGS}")
if(WIN32)
-target_link_libraries(
- authserver
- shared
- trinitydatabase
- trinityauth
- trinityconfig
- ${MYSQL_LIBRARY}
- ${OPENSSL_LIBRARIES}
- ${OPENSSL_EXTRA_LIBRARIES}
-)
+ target_link_libraries(
+ authserver
+ shared
+ trinitydatabase
+ trinityauth
+ trinityconfig
+ ${MYSQL_LIBRARY}
+ ${OPENSSL_LIBRARIES}
+ ${OPENSSL_EXTRA_LIBRARIES}
+ )
else()
-target_link_libraries(
- authserver
- shared
- trinitydatabase
- trinityauth
- trinityconfig
- ${MYSQL_LIBRARY}
- ${OPENSSL_LIBRARIES}
- ${OSX_LIBS}
-)
+ target_link_libraries(
+ authserver
+ shared
+ trinitydatabase
+ trinityauth
+ trinityconfig
+ ${MYSQL_LIBRARY}
+ ${OPENSSL_LIBRARIES}
+ ${OSX_LIBS}
+ )
endif()
-########### install files ###############
-install(TARGETS authserver DESTINATION bin)
-install(FILES authserver.conf.dist DESTINATION etc)
+if( UNIX )
+ install(TARGETS authserver DESTINATION bin)
+ install(FILES authserver.conf.dist DESTINATION etc)
+endif()