aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tests.pro
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-12-01 15:47:36 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-12-02 08:58:06 +0000
commitaabeeda52c3b4d2e3327bfd00642d2d7c980719b (patch)
treed72d85d099ed10f7841e9ac72bb33bb8b5ce149f /tests/tests.pro
parent92ba955a84c733422c02090602f7053260a8301e (diff)
Build benchmarks only in release mode
Otherwise, a debug build will fail due to not find the release mode libraries: LINK : fatal error LNK1181: cannot open input file 'D:\dev\5-vs15-58-static\qt-58s\qtbase\lib\Qt5Gui.lib' Change-Id: I1b942db5ad0cf5fb3a949f9d39b8cf55a2dbd69a Reviewed-by: Robin Burchell <robin.burchell@viroteck.net> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r--tests/tests.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index f5731b2f34..ab94786b31 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,2 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS += auto benchmarks
+SUBDIRS += auto
+contains(QT_CONFIG, release): SUBDIRS += benchmarks