From a9f8c0ab12029c14ef880051eac3ccb13fe75d32 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Wed, 4 May 2011 11:51:05 +0200 Subject: [PATCH] =?UTF-8?q?Patched=20for=20allowing=2064=20bit=20compilati?= =?UTF-8?q?on=20on=20linux.=20Thanks=20to=20=C3=89ric=20Seigne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sankore_3.1.pro | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index bee0985f..853344b3 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -85,6 +85,7 @@ BUILD_DIR = build macx:BUILD_DIR = $$BUILD_DIR/macx win32:BUILD_DIR = $$BUILD_DIR/win32 linux-g++:BUILD_DIR = $$BUILD_DIR/linux +linux-g++-64:BUILD_DIR = $$BUILD_DIR/linux CONFIG(debug, debug|release):BUILD_DIR = $$BUILD_DIR/debug CONFIG(release, debug|release) { @@ -303,6 +304,21 @@ linux-g++ { system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion) } +linux-g++-64 { + LIBS += -lcrypto + QMAKE_CFLAGS += -fopenmp + QMAKE_CXXFLAGS += -fopenmp + QMAKE_LFLAGS += -fopenmp + UB_LIBRARY.path = $$DESTDIR + UB_I18N.path = $$DESTDIR/i18n + UB_ETC.path = $$DESTDIR + UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library + system(mkdir -p $$BUILD_DIR) + system(echo "$$VERSION" > $$BUILD_DIR/version) + system(echo "$$LONG_VERSION" > $$BUILD_DIR/longversion) + system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion) +} + RESOURCES += resources/sankore.qrc # When adding a translation here, also add it in the macx part