]> vaikene.ee Git - evaf/blobdiff - src/plugins/SdiWindow/CMakeLists.txt
Changes to build the software with mingw on Windows.
[evaf] / src / plugins / SdiWindow / CMakeLists.txt
index 9edf476798b7378e53b809f735835968e18d263f..cd0a8c01829a59f639edbb3c4c398177bacb4c39 100644 (file)
@@ -11,7 +11,7 @@ add_definitions(-DSDIWINDOW_LIBRARY)
 include_directories(${eVaf_INCLUDE})
 
 # Required eVaf libraries
-set(eVaf_LIBRARIES CommonLib PluginsLib)
+set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
 
 # Source files
 set(SRCS
@@ -22,14 +22,13 @@ set(SRCS
 # Header files for the meta-object compiler
 set(MOC_HDRS
     factory.h
-    isdiwindow.h
     sdiwindow.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})