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