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>
This commit is contained in:
parent
8b1e6c2e15
commit
deeddf2cb1
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user