X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fapps%2FPswGen%2FGenerator%2FCMakeLists.txt;h=3d7c7ebe514aea2d68153a65fddab79a4fbc7c9e;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=9325fe95dba1965003a34a7d5b9e644fc018b284;hpb=5dbab6f7a87661995e93ed6b632ae711434f20c0;p=evaf
diff --git a/src/apps/PswGen/Generator/CMakeLists.txt b/src/apps/PswGen/Generator/CMakeLists.txt
index 9325fe9..3d7c7eb 100644
--- a/src/apps/PswGen/Generator/CMakeLists.txt
+++ b/src/apps/PswGen/Generator/CMakeLists.txt
@@ -25,9 +25,9 @@ set(MOC_HDRS
)
# Version info resource file for Windows builds
-if(WIN32)
+if(WIN32 AND NOT MINGW)
set(SRCS ${SRCS} version.rc)
-endif(WIN32)
+endif(WIN32 AND NOT MINGW)
qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})