X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Flibs%2FGui%2FCMakeLists.txt;h=8821dc1cbf40f2af6141de7ebd8e55bf7c16304f;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=19fd17239bb3c6e0f44bc419d8cb18609efd0f1e;hpb=8ca71a4ced13c50ecd1e3b9d9c15546ac0d48045;p=evaf
diff --git a/src/libs/Gui/CMakeLists.txt b/src/libs/Gui/CMakeLists.txt
index 19fd172..8821dc1 100644
--- a/src/libs/Gui/CMakeLists.txt
+++ b/src/libs/Gui/CMakeLists.txt
@@ -24,9 +24,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})