forked from osmocom/wireshark
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:
parent
c4d5eea33e
commit
c4265865c2
|
@ -2524,11 +2524,9 @@ if(BUILD_wireshark AND QT_FOUND)
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
|
COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
|
||||||
COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}"
|
COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}"
|
||||||
$<$<CONFIG:Debug>:--debug>
|
|
||||||
$<$<NOT:$<CONFIG:Debug>>:--release>
|
|
||||||
--no-compiler-runtime
|
--no-compiler-runtime
|
||||||
--verbose 10
|
--verbose 10
|
||||||
--pdb
|
$<$<BOOL:${MSVC}>:--pdb>
|
||||||
"$<TARGET_FILE:wireshark>"
|
"$<TARGET_FILE:wireshark>"
|
||||||
)
|
)
|
||||||
add_dependencies(copy_qt_dlls wireshark)
|
add_dependencies(copy_qt_dlls wireshark)
|
||||||
|
|
Loading…
Reference in New Issue