X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fmain%2FGUI%2FCMakeLists.txt;h=367e2f53a1c61cb24b865900a735220b9126d261;hb=4e8a8e8bba08252b1976428942a089fd560d19d9;hp=4e1c0d8664878bcf208ec62db104721ab2e4a7ce;hpb=4bf2068a0d16afd45cd171548da6320095d0851e;p=evaf
diff --git a/src/main/GUI/CMakeLists.txt b/src/main/GUI/CMakeLists.txt
index 4e1c0d8..367e2f5 100644
--- a/src/main/GUI/CMakeLists.txt
+++ b/src/main/GUI/CMakeLists.txt
@@ -33,14 +33,14 @@ set(MOC_HDRS
)
# Resources
-set(RCCS
- gui.qrc
-)
+#set(RCCS
+# gui.qrc
+#)
# Version info resource file for Windows builds
-if(WIN32)
+if(WIN32 AND NOT MINGW)
set(SRCS ${SRCS} version.rc gui.rc)
-endif(WIN32)
+endif(WIN32 AND NOT MINGW)
qt4_add_resources(RCC_SRCS ${RCCS})