aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Xinwei <1326710505@qq.com>2021-05-20 22:23:43 +0800
committerLi Xinwei <1326710505@qq.com>2021-05-20 15:02:07 +0000
commit908670c5b68d3bcf4712019a028079b8b2042dd4 (patch)
tree9d893a6b985d8c57d1bca42bb5788eb721d3de2a
parentf555e5c619e21cb1e674d6b131cd73520a9b61b1 (diff)
Fix static library suffix on Windows
When building latest qt (dev branch), I noticed following ninja output: [4390/8592] Linking CXX static library qtbase\lib\qlitehtml6.dll Apparently the library suffix of qlitehtml is wrong. Change-Id: Iee38d5b11a22a1ee855664c0d7c43c6e67bf618e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e8f3255..b548345 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,7 +83,7 @@ if(TARGET litehtml)
if(WIN32)
set_target_properties(qlitehtml PROPERTIES
- SUFFIX "${QLITEHTML_VERSION_MAJOR}${CMAKE_SHARED_LIBRARY_SUFFIX}"
+ SUFFIX "${QLITEHTML_VERSION_MAJOR}${CMAKE_${QLITEHTML_LIBRARY_TYPE}_LIBRARY_SUFFIX}"
PREFIX ""
IMPORT_SUFFIX "${QLITEHTML_VERSION_MAJOR}${CMAKE_IMPORT_LIBRARY_SUFFIX}"
IMPORT_PREFIX "")