diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index 9c9e1d82ade21a6cc64e630ac1496a10f59731a2..0429c44ab402774664f5dae84e1fc1c201cf6b23 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -19,7 +19,9 @@ else:exists(user_config.pri):infile(user_config.pri, DEFINES, DISABLE_QUPGRADE) message("Skipping support for QUpgrade (manual override from user_config.pri)") } # If the QUpgrade submodule has been initialized, build in support by default. -else:exists(qupgrade/.git) { +# We look for the existence of qupgrade.pro for the check. We can't look for a .git file +# because that breaks the TeamCity build process which does not use repositories. +else:exists(qupgrade/qupgrade.pro) { message("Including support for QUpgrade") DEFINES += QGC_QUPGRADE_ENABLED