diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-05-15 21:53:41 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-05-15 22:16:11 +0800 |
commit | af4a651cb5aa61cab134043471aacfd55e49d268 (patch) | |
tree | ba87a1650bc3cd87025c208e84edb626ace926ae /CMakeLists.txt | |
parent | 38a40cec1c20c06559e26e9a4271db39d02e7c35 (diff) | |
download | fqterm-af4a651cb5aa61cab134043471aacfd55e49d268.tar.xz |
Change for windows native static build.
1. Qt 4.8.6 does not have static imageformats plugin
2. cmake have MSVC and MINGW variable
3. rewrite openssl linking options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e55eed6..ed6cede 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,11 +66,11 @@ ENDIF(NOT FQ_CORE_QT_CONFIG MATCHES "static") SET(SUB_CMAKELIST "UNKNOWN") IF(WIN32) - IF(MSYS MATCHES 1) + IF(MINGW) SET(SUB_CMAKELIST "CMakeLists.txt.mingw") - ELSE(MSYS MATCHES 1) + ELSE(MINGW) SET(SUB_CMAKELIST "CMakeLists.txt.win32") - ENDIF(MSYS MATCHES 1) + ENDIF(MINGW) ELSE(WIN32) IF(APPLE) SET(SUB_CMAKELIST "CMakeLists.txt.macos") |