summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-07-07 13:43:29 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-09 08:55:38 +0200
commitd98a6d0463fd00e5463828b6a3e4e20db7d6d63e (patch)
tree1a2d64d7a715f43769f4d99aeb7e7d26d827f205
parent84dcbe4d5d9cfee1ebca30ba319d62edf2a388c3 (diff)
CMake: Fix path to qt-cmake in configure summary
The path was wrong if CMAKE_STAGING_PREFIX was set. Change-Id: Iec90c7a5edf0da80a0ac108fe3411c340c01e9a9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--cmake/QtBuildInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake
index 56df1d4f0c..a53aae8994 100644
--- a/cmake/QtBuildInformation.cmake
+++ b/cmake/QtBuildInformation.cmake
@@ -31,7 +31,7 @@ function(qt_print_build_instructions)
message("Note that this build cannot be deployed to other machines or devices.")
endif()
message("To configure and build other modules, you can use the following convenience script:
- ${CMAKE_INSTALL_PREFIX}/${INSTALL_BINDIR}/qt-cmake")
+ ${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake")
message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \
from the build directory \n")
endfunction()