X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FSdiWindow%2FCMakeLists.txt;h=cd0a8c01829a59f639edbb3c4c398177bacb4c39;hb=602faa7b96d4467f127ccd581228ca7245283c32;hp=c87eed6d6cd2dfaa75f085ff2887abaac6b53834;hpb=c8050984a289a6ea98812395313ef37d4c7fd059;p=evaf
diff --git a/src/plugins/SdiWindow/CMakeLists.txt b/src/plugins/SdiWindow/CMakeLists.txt
index c87eed6..cd0a8c0 100644
--- a/src/plugins/SdiWindow/CMakeLists.txt
+++ b/src/plugins/SdiWindow/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})