X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2FCMakeLists.txt;h=83affd4f2c5130191a4136f76a948bd08efeeb64;hb=4e8a8e8bba08252b1976428942a089fd560d19d9;hp=a9916b4b4dcd9d957632c78045be30d8070ca7ed;hpb=f01d61fb753b347bbff2ffb7f224650ac3f9d81e;p=evaf
diff --git a/src/libs/Common/CMakeLists.txt b/src/libs/Common/CMakeLists.txt
index a9916b4..83affd4 100644
--- a/src/libs/Common/CMakeLists.txt
+++ b/src/libs/Common/CMakeLists.txt
@@ -45,9 +45,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})