SdkTool: Fix build with different runtime library settings on windows

Amends c246caf7a9.

Change-Id: I2f858ff75a1a2a980d71a1623399c66fd6c34b84
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Marcus Tillmanns
2022-04-05 10:13:33 +02:00
parent 8c7c655356
commit 8fd5c9d6c0

View File

@@ -114,6 +114,7 @@ if (MSVC AND TARGET sdktool)
get_target_property(_input_type Qt5::Core TYPE)
if (${_input_type} STREQUAL "STATIC_LIBRARY")
set_property(TARGET sdktool PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set_property(TARGET sdktoolLib PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
endif()