X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGenerator%2FCMakeLists.txt;h=3d7c7ebe514aea2d68153a65fddab79a4fbc7c9e;hb=38c2779e95311f1d9dac4a9d9469b0489b395333;hp=dbf88efb09d68f9391f751ceb564b94d6703664a;hpb=3352f7acc232104985807b9f470cb12bcb2b47c2;p=evaf
diff --git a/src/apps/PswGen/Generator/CMakeLists.txt b/src/apps/PswGen/Generator/CMakeLists.txt
index dbf88ef..3d7c7eb 100644
--- a/src/apps/PswGen/Generator/CMakeLists.txt
+++ b/src/apps/PswGen/Generator/CMakeLists.txt
@@ -21,14 +21,13 @@ set(SRCS
# Header files for the meta-object compiler
set(MOC_HDRS
- igenerator.h
module.h
)
# 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})