summaryrefslogtreecommitdiffstats
path: root/qmake/generators/integrity
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/generators/integrity')
-rw-r--r--qmake/generators/integrity/gbuild.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/generators/integrity/gbuild.cpp b/qmake/generators/integrity/gbuild.cpp
index fcadec0..658bb3c 100644
--- a/qmake/generators/integrity/gbuild.cpp
+++ b/qmake/generators/integrity/gbuild.cpp
@@ -273,7 +273,8 @@ GBuildMakefileGenerator::writeMakefile(QTextStream &text)
}
t << "\n";
- t << varGlue("DEFINES", "\t-D", "\n\t-D", "\n");
+ if (project->first("TEMPLATE") != "project")
+ t << varGlue("DEFINES", "\t-D", "\n\t-D", "\n");
t << "\t-I.\n\t-I" << specdir() << "\n";
t << varGlue("INCLUDEPATH", "\t-I", "\n\t-I", "\n");