X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FTest%2FCMakeLists.txt;h=bbf03ba17fb1bc698fe00e6d82d2f2a10a92e750;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=35393d748260a1514c0b6cccb13c31bd647635a2;hpb=8ca71a4ced13c50ecd1e3b9d9c15546ac0d48045;p=evaf
diff --git a/src/plugins/Test/CMakeLists.txt b/src/plugins/Test/CMakeLists.txt
index 35393d7..bbf03ba 100644
--- a/src/plugins/Test/CMakeLists.txt
+++ b/src/plugins/Test/CMakeLists.txt
@@ -23,9 +23,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})