diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-09-26 13:31:19 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-09-26 12:22:13 +0000 |
commit | deeddf2cb1148a01148c84756c25be2be382a773 (patch) | |
tree | 63c33524d4765870f27474ecf16cb1d63fb93432 | |
parent | 8b1e6c2e1509eb15e4c45b2ca6de62883a51d6ee (diff) |
cmake: Fix QT_TOOL_PATH_SETUP_COMMAND
The set command looked like this:
set \"PATH=...\"
which was setting the environment variable \"PATH.
Removing the escaped double quotes makes it actually work.
Change-Id: I2c1d5d01b4415220512b005b75b7b67c695e33ae
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r-- | cmake/QtBuild.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 409907bf58..f02553e8ea 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -70,7 +70,7 @@ function(qt_setup_tool_path_command) set(bindir "${CMAKE_INSTALL_PREFIX}/${INSTALL_BINDIR}") file(TO_NATIVE_PATH "${bindir}" bindir) list(APPEND command COMMAND) - list(APPEND command set \"PATH=${bindir}$<SEMICOLON>%PATH%\") + list(APPEND command set PATH=${bindir}$<SEMICOLON>%PATH%) set(QT_TOOL_PATH_SETUP_COMMAND "${command}" CACHE INTERNAL "internal command prefix for tool invocations" FORCE) endfunction() qt_setup_tool_path_command() |