forked from qt-creator/qt-creator
Enable WITH_TESTS when BUILD_TESTS is specified
Change-Id: Ie871ea099caa08b2757303e81733acc5ed6294de
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
(cherry picked from commit 8ae9d61b3c)
This commit is contained in:
committed by
Eike Ziller
parent
2c1b369687
commit
bbfbef37ee
@@ -94,6 +94,8 @@ defineReplace(stripSrcDir) {
|
||||
|
||||
} # qt5
|
||||
|
||||
!isEmpty(BUILD_TESTS):TEST = 1
|
||||
|
||||
isEmpty(TEST):CONFIG(debug, debug|release) {
|
||||
!debug_and_release|build_pass {
|
||||
TEST = 1
|
||||
|
||||
Reference in New Issue
Block a user