X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FLogView%2FCMakeLists.txt;h=ac0d07f98fdf19a7bb111ae4047912b83b25f83e;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=8f68dd18c712bd2b30c94040b7fc0b7021b65b86;hpb=8ca71a4ced13c50ecd1e3b9d9c15546ac0d48045;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})