]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/GUI/CMakeLists.txt
Changes to build the software with mingw on Windows.
[evaf] / src / apps / PswGen / GUI / CMakeLists.txt
index 329cd170bbfa949ebf1d2b0149aa52a8fca531e9..561060ec6898ac85241e031cd804784a53c9e892 100644 (file)
@@ -8,7 +8,7 @@ include(${QT_USE_FILE})
 include_directories(${eVaf_INCLUDE})
 
 # Required eVaf libraries
-set(eVaf_LIBRARIES CommonLib PluginsLib)
+set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
 
 # Source files
 set(SRCS
@@ -21,9 +21,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})