From 09db256768d522dc382440fa82dd93857034b338 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 1 Sep 2007 14:48:18 +0000 Subject: [PATCH] Fixing vc compilation. --- pokerth_game.pro | 4 +++- pokerth_server.pro | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pokerth_game.pro b/pokerth_game.pro index e00fe47b..a17d2eea 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -222,7 +222,9 @@ win32{ LIBS += -lpokerth_lib LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 -lsdl -lsdlmain -lsdl_mixer - LIBS += -lboost_thread-mgw34-mt-1_34_1 + exists( ../boost/stage/lib/boost_thread-mgw34-mt-1_34_1.a ){ + LIBS += -lboost_thread-mgw34-mt-1_34_1 + } RC_FILE = pokerth.rc } !win32{ diff --git a/pokerth_server.pro b/pokerth_server.pro index 4ec60bd9..ea18e7e9 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -106,7 +106,9 @@ win32{ LIBS += -lpokerth_lib LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 - LIBS += -lboost_thread-mgw34-mt-1_34_1 + exists( ../boost/stage/lib/boost_thread-mgw34-mt-1_34_1.a ){ + LIBS += -lboost_thread-mgw34-mt-1_34_1 + } } !win32{ DEPENDPATH += src/net/linux/ src/core/linux