diff options
Diffstat (limited to 'installerfw.pro')
-rw-r--r-- | installerfw.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/installerfw.pro b/installerfw.pro index 9eed1347f..f816aa82f 100644 --- a/installerfw.pro +++ b/installerfw.pro @@ -1,10 +1,14 @@ CONFIG += ordered TEMPLATE = subdirs -SUBDIRS += src tests tools +SUBDIRS += src tools include (installerfw.pri) include (doc/doc.pri) +BUILD_TESTS = $$(BUILDTESTS) +isEmpty(BUILD_TESTS):BUILD_TESTS=$${BUILDTESTS} +!isEmpty(BUILD_TESTS):SUBDIRS += tests + !minQtVersion(5, 3, 0) { message("Cannot build Qt Installer Framework with Qt version $${QT_VERSION}.") error("Use at least Qt 5.3.0.") |