X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Fmain%2FCLI%2FCMakeLists.txt;h=a3983a6fb3e45e982329054a1af202f4ac903ca9;hb=602faa7b96d4467f127ccd581228ca7245283c32;hp=f27ec1fcfae795315c00fb63911d85c4862f4336;hpb=4d81227da330c21c7aa0badc88bd5ad4467067fb;p=evaf
diff --git a/src/main/CLI/CMakeLists.txt b/src/main/CLI/CMakeLists.txt
index f27ec1f..a3983a6 100644
--- a/src/main/CLI/CMakeLists.txt
+++ b/src/main/CLI/CMakeLists.txt
@@ -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})