mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file
This commit is contained in:
parent
aea754456f
commit
bfeaaa522a
@ -126,6 +126,11 @@ endfunction()
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# Deploy Qt for Windows
|
||||
function(x_deploy_qt_for_windows target)
|
||||
get_target_property(QT_TARGET_TYPE Qt${QT_VERSION_MAJOR}::Core TYPE)
|
||||
if(QT_TARGET_TYPE STREQUAL "STATIC_LIBRARY")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WINDEPLOYQT_EXECUTABLE)
|
||||
set(WINDEPLOYQT_EXECUTABLE "${QT_DIR}/../../../bin/windeployqt.exe")
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user