aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-09-12 22:06:45 +0000
committerxiphon <xiphon@protonmail.com>2020-09-12 22:06:59 +0000
commit8643f85feffa813e6867126657fd7ba625dccc91 (patch)
treee1f36f8c3713e0a547356f9663262c09e0d24ae2
parent31dbe7ea42ac16a787f7f9d3d365de78533980e4 (diff)
downloadmonzero-gui-8643f85feffa813e6867126657fd7ba625dccc91.tar.gz
monzero-gui-8643f85feffa813e6867126657fd7ba625dccc91.tar.xz
monzero-gui-8643f85feffa813e6867126657fd7ba625dccc91.zip
cmake: MinGW - fix qtfreetype linking
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e0786825..cb12e3e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -334,8 +334,6 @@ if(STATIC)
endforeach()
if(MINGW)
- list(APPEND QT5_EXTRA_LIBRARIES qtfreetype)
-
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
list(APPEND QT5_EXTRA_LIBRARIES D3D11 Dwrite D2d1)
endif()
@@ -360,6 +358,8 @@ if(STATIC)
Qt5ServiceSupport
Qt5GlxSupport
)
+ elseif(MINGW)
+ list(APPEND QT5_INTEGRATION_LIBRARIES_LIST qtfreetype)
endif()
foreach(LIBRARY ${QT5_INTEGRATION_LIBRARIES_LIST})