fix build on qt 5.9

This commit is contained in:
Andrei Yankovich 2019-10-07 13:02:08 +03:00
parent 73bcd36c6c
commit 1ab5091fae

17
GMP.pro
View File

@ -11,12 +11,17 @@ CONFIG += ordered
SUBDIRS += \
src
include($$PWD/tests/test.pri)
gcc {
lessThan (QT_MINOR_VERSION, 12) {
message(disable tests!)
} else {
include($$PWD/tests/test.pri)
message(enabled tests!)
SUBDIRS += tests
SUBDIRS += tests
tests.file = tests/tests.pro
}
}
src.file = src/GMP.pro
gcc {
SUBDIRS += tests
tests.file = tests/tests.pro
}