From 8fd5c9d6c010cee26ef264e1d2f820af40b8714c Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 5 Apr 2022 10:13:33 +0200 Subject: [PATCH] SdkTool: Fix build with different runtime library settings on windows Amends c246caf7a96b1d. Change-Id: I2f858ff75a1a2a980d71a1623399c66fd6c34b84 Reviewed-by: Eike Ziller Reviewed-by: --- src/tools/sdktool/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/sdktool/CMakeLists.txt b/src/tools/sdktool/CMakeLists.txt index 8a47006a249..1ff6bca3a08 100644 --- a/src/tools/sdktool/CMakeLists.txt +++ b/src/tools/sdktool/CMakeLists.txt @@ -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$<$:Debug>") + set_property(TARGET sdktoolLib PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") endif() endif()