MinGW-w64: Fix windeployqt errors

--debug and --release flags are unnecessary and trigger errors.

--pdb not supported and triggers a warning.
This commit is contained in:
João Valverde 2021-07-15 01:37:23 +01:00
parent c4d5eea33e
commit c4265865c2
1 changed files with 1 additions and 3 deletions

View File

@ -2524,11 +2524,9 @@ if(BUILD_wireshark AND QT_FOUND)
POST_BUILD
COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}"
$<$<CONFIG:Debug>:--debug>
$<$<NOT:$<CONFIG:Debug>>:--release>
--no-compiler-runtime
--verbose 10
--pdb
$<$<BOOL:${MSVC}>:--pdb>
"$<TARGET_FILE:wireshark>"
)
add_dependencies(copy_qt_dlls wireshark)