diff options
author | Роман Донченко <dpb@corrigendum.ru> | 2016-11-30 02:11:06 +0300 |
---|---|---|
committer | Graham Bloice <graham.bloice@trihedral.com> | 2016-11-30 11:44:41 +0000 |
commit | 4ace7ce80dc11010f78202ab742f749f85cbdd6b (patch) | |
tree | 5e702b09d43b5c56feeb7977b0751dd839d8b439 /packaging/nsis | |
parent | 7fe45cc0ec4e8bc1c3d5cd27c98feb8ecbb2b1b4 (diff) |
Fix the build when a different version of Qt is in PATH
When we add our Qt to PATH, prepend it so that it will be found first.
Change-Id: I405496d6a08d676b5a2e0d9bd792de7ba9abe7f9
Reviewed-on: https://code.wireshark.org/review/18988
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'packaging/nsis')
-rw-r--r-- | packaging/nsis/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt index 1fe07dfd1d..3406afe4a8 100644 --- a/packaging/nsis/CMakeLists.txt +++ b/packaging/nsis/CMakeLists.txt @@ -196,7 +196,7 @@ macro( ADD_NSIS_PACKAGE_TARGET ) # qt-dll-manifest.nsh. Created using Wireshark.exe. add_custom_command(OUTPUT ${_nsis_binary_dir}/qt-dll-manifest.nsh - COMMAND set "PATH=%PATH%;${QT_BIN_PATH}" + COMMAND set "PATH=${QT_BIN_PATH};%PATH%" COMMAND ${POWERSHELL_COMMAND} "${_nsis_source_dir}/windeployqt-to-nsis.ps1" -Executable $<TARGET_FILE:wireshark> -FilePath ${_nsis_binary_dir}/qt-dll-manifest.nsh |