forked from qt-creator/qt-creator
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:
@@ -114,6 +114,7 @@ if (MSVC AND TARGET sdktool)
|
|||||||
get_target_property(_input_type Qt5::Core TYPE)
|
get_target_property(_input_type Qt5::Core TYPE)
|
||||||
if (${_input_type} STREQUAL "STATIC_LIBRARY")
|
if (${_input_type} STREQUAL "STATIC_LIBRARY")
|
||||||
set_property(TARGET sdktool PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user