]> vaikene.ee Git - evaf/blobdiff - src/plugins/LogView/CMakeLists.txt
Changes to build the software with mingw on Windows.
[evaf] / src / plugins / LogView / CMakeLists.txt
index 557cacc4eb9881d5ef7a09be5a103b9eba360ad2..ac0d07f98fdf19a7bb111ae4047912b83b25f83e 100644 (file)
@@ -11,7 +11,7 @@ add_definitions(-DLOGVIEW_LIBRARY)
 include_directories(${eVaf_INCLUDE})
 
 # Required eVaf libraries
-set(eVaf_LIBRARIES CommonLib PluginsLib)
+set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
 
 # Source files
 set(SRCS
@@ -26,9 +26,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})