From bd1ab8281ad957ae91d7d07e381890e57f8bc7a7 Mon Sep 17 00:00:00 2001 From: doitux Date: Sun, 4 Nov 2007 23:55:01 +0000 Subject: [PATCH] --- pokerth_game.pro | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/pokerth_game.pro b/pokerth_game.pro index 43096453..9503f88d 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -7,7 +7,7 @@ CONFIG += qt thread embed_manifest_exe warn_on release #CONFIG += qt thread embed_manifest_exe warn_on debug #Uncomment this for RELEASE -#QTPLUGIN += qjpeg qgif +QTPLUGIN += qjpeg qgif UI_DIR = uics MOC_DIR = mocs @@ -308,6 +308,29 @@ unix: !mac{ LIBS += -lboost_filesystem } } + + + exists( /usr/lib/libboost_regex-mt.so ){ + message("Found libboost_regex-mt") + LIBS += -lboost_regex-mt + } + exists( /usr/lib64/libboost_regex-mt.so ){ + message("Found libboost_regex-mt") + LIBS += -lboost_regex-mt + } + !exists( /usr/lib/libboost_regex-mt.so ){ + exists( /usr/lib/libboost_regex.so ){ + message("Found libboost_regex") + LIBS += -lboost_regex + } + } + !exists( /usr/lib64/libboost_regex-mt.so ){ + exists( /usr/lib64/libboost_regex.so ){ + message("Found libboost_regex") + LIBS += -lboost_regex + } + } + LIBPATH += lib LIBS += -lpokerth_lib LIBS += -lcrypto -lSDL_mixer