diff --git a/version/version.pro b/version/version.pro index 74ad7a9654..c78dde6898 100644 --- a/version/version.pro +++ b/version/version.pro @@ -21,8 +21,8 @@ win32 { versiontarget.depends = FORCE PRE_TARGETDEPS += $$VERSION_HEADER -# regenerate version only in production builds -CONFIG(production) { +# regenerate version only in release and production builds +CONFIG(production)|CONFIG(release) { QMAKE_EXTRA_TARGETS += versiontarget }