chore: update script

This commit is contained in:
Qsaker 2024-01-25 09:20:07 +08:00
parent 3eed0b1d05
commit 0cba7d86c5

View File

@ -6,7 +6,8 @@ function(sak_auto_execute_windeployqt target)
add_custom_command(
TARGET ${target}
POST_BUILD
COMMAND "${SAK_WINDEPLOYQT_EXECUTABLE}" $<TARGET_FILE:${target}> DEPENDS ${depends_dll}
COMMAND "${SAK_WINDEPLOYQT_EXECUTABLE}" $<TARGET_FILE:${target}> --qmldir
${CMAKE_CURRENT_SOURCE_DIR}/qml DEPENDS ${depends_dll}
COMMENT "Running windeployqt..."
VERBATIM)
endif()