X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Fplugins%2FLogView%2FCMakeLists.txt;h=ac0d07f98fdf19a7bb111ae4047912b83b25f83e;hb=602faa7b96d4467f127ccd581228ca7245283c32;hp=8f68dd18c712bd2b30c94040b7fc0b7021b65b86;hpb=c8050984a289a6ea98812395313ef37d4c7fd059;p=evaf
diff --git a/src/plugins/LogView/CMakeLists.txt b/src/plugins/LogView/CMakeLists.txt
index 8f68dd1..ac0d07f 100644
--- a/src/plugins/LogView/CMakeLists.txt
+++ b/src/plugins/LogView/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})