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 /CMakeLists.txt | |
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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 60b2c12f51..b0a2d8fd86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2008,7 +2008,7 @@ if(BUILD_wireshark AND QT_FOUND) # be smart enough to copy debug DLLs when needed. add_custom_command(TARGET copy_qt_dlls POST_BUILD - COMMAND set "PATH=%PATH%;${QT_BIN_PATH}" + COMMAND set "PATH=${QT_BIN_PATH};%PATH%" COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}" $<$<CONFIG:Debug>:--debug> $<$<NOT:$<CONFIG:Debug>>:--release> |