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>
This commit is contained in:
Friedemann Kleint 2016-12-01 15:47:36 +01:00
parent 92ba955a84
commit aabeeda52c
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += auto benchmarks
SUBDIRS += auto
contains(QT_CONFIG, release): SUBDIRS += benchmarks