X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FStorage%2FCMakeLists.txt;h=2169469e2613cc63b7baf1a8d37a720a62b549c0;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=13722c39e4b49c8e1956d270bbf63eb9c3e8d034;hpb=8ca71a4ced13c50ecd1e3b9d9c15546ac0d48045;p=evaf
diff --git a/src/apps/PswGen/Storage/CMakeLists.txt b/src/apps/PswGen/Storage/CMakeLists.txt
index 13722c3..2169469 100644
--- a/src/apps/PswGen/Storage/CMakeLists.txt
+++ b/src/apps/PswGen/Storage/CMakeLists.txt
@@ -26,9 +26,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})