]> vaikene.ee Git - evaf/blobdiff - src/main/CLI/CMakeLists.txt
Changes to build the software with mingw on Windows.
[evaf] / src / main / CLI / CMakeLists.txt
index f27ec1fcfae795315c00fb63911d85c4862f4336..a3983a6fb3e45e982329054a1af202f4ac903ca9 100644 (file)
@@ -9,25 +9,23 @@ include(${QT_USE_FILE})
 include_directories(${eVaf_INCLUDE})
 
 # Required eVaf libraries
-set(eVaf_LIBRARIES)
+set(eVaf_LIBRARIES CommonLib PluginsLib)
 
 # Source files
 set(SRCS
     main.cpp
     exithandler.cpp
-    version.cpp
 )
 
 # Header files for the meta-object compiler
 set(MOC_HDRS
     main.h
-    version_p.h
 )
 
 # Version info resource file for Windows builds
-if(WIN32)
+if(WIN32 AND NOT MINGW)
     set(SRCS ${SRCS} version.rc cli.rc)
-endif(WIN32)
+endif(WIN32 AND NOT MINGW)
 
 qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})