From 1b63c39f31f1ebb29d7cb5f4b6a92078d057623a Mon Sep 17 00:00:00 2001 From: Felix Hammer Date: Thu, 5 Jan 2017 20:12:45 +0100 Subject: [PATCH] Add qmake config switch CONFIG+=client to easy select building the client without all the server stuff. Also add /lib/x86_64-linux-gnu to include PATH. --- pokerth.pro | 8 ++++++-- pokerth_game.pro | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pokerth.pro b/pokerth.pro index b04b4f94..18ab00e3 100755 --- a/pokerth.pro +++ b/pokerth.pro @@ -5,9 +5,13 @@ SUBDIRS = pokerth_protocol.pro pokerth_db.pro pokerth_lib.pro official_server { SUBDIRS += pokerth_dbofficial.pro } -!mac:!gui_800x480:!client:!qml-client { - SUBDIRS += pokerth_server.pro chatcleaner.pro +client: { + SUBDIRS += pokerth_game.pro } +!mac:!gui_800x480:!client:!qml-client { + SUBDIRS += pokerth_server.pro chatcleaner.pro +} + CONFIG += ordered OTHER_FILES += \ diff --git a/pokerth_game.pro b/pokerth_game.pro index 1cfb45ca..581ad33c 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -408,6 +408,7 @@ unix:!mac { LIBPATH += $${PREFIX}/lib /opt/gsasl/lib LIB_DIRS = $${PREFIX}/lib \ $${PREFIX}/lib64 \ + $${PREFIX}/lib/x86_64-linux-gnu \ $$system(qmake -query QT_INSTALL_LIBS) } android{