diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-09 07:11:11 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-09 07:11:11 +0200 |
commit | 10d9ac4673e374a9ac17ff492591136520337c4c (patch) | |
tree | 7dec11b6d39d0e3e777c537559120784ef36f0d9 /libquotient.pri | |
parent | 0898550adcc5e6fe2648fcd4e181ecab9b5befea (diff) | |
download | libquotient-10d9ac4673e374a9ac17ff492591136520337c4c.tar.gz libquotient-10d9ac4673e374a9ac17ff492591136520337c4c.zip |
Fix qmake build failure at AppVeyor
Turned out libQuotient code base was not good for NMake inference rules
but qmake has been intelligent enough to detect that and disable before.
After the recent optimisations qmake's intelligence was not enough so
CONFIG += no_batch was not automatically added, leading to the linking
failure because NMake skipped compilation of all source files.
Diffstat (limited to 'libquotient.pri')
-rw-r--r-- | libquotient.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libquotient.pri b/libquotient.pri index 4fee6723..dc109d79 100644 --- a/libquotient.pri +++ b/libquotient.pri @@ -3,6 +3,8 @@ QT += network multimedia CONFIG *= c++1z warn_on rtti_off create_prl object_parallel_to_source win32-msvc* { + # Quotient code base does not play well with NMake inference rules + CONFIG *= no_batch QMAKE_CXXFLAGS_WARN_ON += -wd4100 -wd4267 } else { QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter |