← Back to team overview

mira-dev team mailing list archive

[Branch ~mira-dev/mira/trunk] Rev 194: Link against mira library on server and Files utility

 

------------------------------------------------------------
revno: 194
committer: Alan Alvarez <aalvarez@xxxxxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-04-23 10:48:55 -0400
message:
  Link against mira library on server and Files utility
modified:
  mira-server/CMakeLists.txt


--
lp:mira
https://code.launchpad.net/~mira-dev/mira/trunk

Your team Mira Core Development Team is subscribed to branch lp:mira.
To unsubscribe from this branch go to https://code.launchpad.net/~mira-dev/mira/trunk/+edit-subscription
=== modified file 'mira-server/CMakeLists.txt'
--- mira-server/CMakeLists.txt	2010-04-22 15:18:40 +0000
+++ mira-server/CMakeLists.txt	2010-04-23 14:48:55 +0000
@@ -87,9 +87,9 @@
 # link libraries
 #TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES})
 IF (WIN32)
-  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} ws2_32 wsock32)
+  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} mira ws2_32 wsock32)
 ELSE (WIN32)
-  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} "-ldl -lmira -lpthread")
+  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} mira "-ldl -lpthread")
 ENDIF(WIN32)
 
 # Library for Utility developers to use to access core resources
@@ -106,4 +106,4 @@
 
 add_library(Files-utility SHARED ${FILES_UTILITY_SOURCES})
 
-TARGET_LINK_LIBRARIES ( Files-utility "-lmira" )
+TARGET_LINK_LIBRARIES ( Files-utility mira )