diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-09-08 11:21:36 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-09-10 16:51:02 +0000 |
commit | 09b4999a6d2d492b7fcaedb56e388eafd161d122 (patch) | |
tree | f5763e678cf65e850db51689343d4ba1e7418bcf | |
parent | 7939fc7058ea8619d350a9f7a76ac481895d88a8 (diff) |
Fix typo in CMakeList.txt
Fix typo, which slipped through testing. This covers the case when
gn is already built (external project) and user reconfigures qtwebengine
after removing cache (for non-prefix build)
Task-number: QTBUG-106406
Change-Id: Ic0d105ff7d50a07f3729cb0cd095d2a8daf6911b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 08692e7d628e56e34fdc84e9da574d78ce8ecf1d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0cbb9cfd6..eef368ddb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -196,7 +196,7 @@ if((LINUX OR MACOS) AND INSTALL_GN) ${QT_BUILD_DIR}/${INSTALL_LIBEXECDIR}/gn ) if(Gn_FOUND) - set(copyDep ${installDir/bin/gn}) + set(copyDep ${Gn_EXECUTABLE}) else() set(copyDep gn) endif() |