Merge "qtpaths: Fix cross compilation for windows"

This commit is contained in:
Martin Storsjö 2021-03-13 11:26:45 +02:00 committed by Qt CI Bot
commit 00ee99ac58

View File

@ -17,8 +17,8 @@ qt_internal_add_tool(${target_name}
## Scopes:
#####################################################################
if(WIN32)
set_target_properties(qtpaths PROPERTIES
if(WIN32 AND TARGET ${target_name})
set_target_properties(${target_name} PROPERTIES
WIN32_EXECUTABLE FALSE
)
endif()