summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/win32/winmakefile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp
index 33179abbd2..8bd45379d6 100644
--- a/qmake/generators/win32/winmakefile.cpp
+++ b/qmake/generators/win32/winmakefile.cpp
@@ -283,7 +283,8 @@ void Win32MakefileGenerator::processVars()
}
// TARGET_VERSION_EXT will be used to add a version number onto the target name
- if (project->values("TARGET_VERSION_EXT").isEmpty()
+ if (!project->isActiveConfig("skip_target_version_ext")
+ && project->values("TARGET_VERSION_EXT").isEmpty()
&& !project->values("VER_MAJ").isEmpty())
project->values("TARGET_VERSION_EXT").append(project->values("VER_MAJ").first());