← Back to team overview

mira-dev team mailing list archive

[Branch ~mira-dev/mira/trunk] Rev 193: Link against pthread library on linux

 

------------------------------------------------------------
revno: 193
committer: Alan Alvarez <aalvarez@xxxxxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-04-22 11:18:40 -0400
message:
  Link against pthread library on linux
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-16 18:39:52 +0000
+++ mira-server/CMakeLists.txt	2010-04-22 15:18:40 +0000
@@ -89,7 +89,7 @@
 IF (WIN32)
   TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} ws2_32 wsock32)
 ELSE (WIN32)
-  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} "-ldl -lmira")
+  TARGET_LINK_LIBRARIES(${SERVER_BINARY_NAME} ${Boost_LIBRARIES} "-ldl -lmira -lpthread")
 ENDIF(WIN32)
 
 # Library for Utility developers to use to access core resources