forked from qt-creator/qt-creator
sdktool: Fix CMake configuration on Qt6 within Qt Creator
Change-Id: I9028ad7aa6018b63c5afedb65add6ce765660bb7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -120,7 +120,7 @@ add_qtc_executable(sdktool
|
||||
main.cpp
|
||||
)
|
||||
|
||||
if (MSVC AND TARGET sdktool AND Qt5_VERSION VERSION_LESS 6.0.0)
|
||||
if (MSVC AND TARGET sdktool AND TARGET Qt5::Core)
|
||||
# find out if Qt is static and set /MT if so
|
||||
get_target_property(_input_type Qt5::Core TYPE)
|
||||
if (${_input_type} STREQUAL "STATIC_LIBRARY")
|
||||
|
||||
Reference in New Issue
Block a user