]> vaikene.ee Git - evaf/blobdiff - src/libs/Plugins/CMakeLists.txt
Changes to build the software with mingw on Windows.
[evaf] / src / libs / Plugins / CMakeLists.txt
index f0b59ad7fc066483074e40645dafa1aaa258d1a6..edcfae664d4f74cec71c1c7afc11c55377d21003 100644 (file)
@@ -13,7 +13,7 @@ add_definitions(-DPLUGINS_LIBRARY)
 include_directories(${eVaf_INCLUDE})
 
 # Required eVaf libraries
-set(eVaf_LIBRARIES)
+set(eVaf_LIBRARIES CommonLib)
 
 # Source files
 set(SRCS
@@ -29,9 +29,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})