From 4b016c87c10c991aab6e8f21bb0ae92dd32e62d4 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 21 Oct 2020 11:39:45 +0200 Subject: CMake: Advertise qt-configure-module in configure output ...instead of qt-cmake-private. Also, add ".bat" on Windows. Change-Id: I2aa94ac76f2dadfb8e94d68b19bb379b3d45a93d Reviewed-by: Oliver Wolff Reviewed-by: Alexandru Croitor --- cmake/QtBuildInformation.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cmake/QtBuildInformation.cmake') diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake index 3079a96a9c..2803006321 100644 --- a/cmake/QtBuildInformation.cmake +++ b/cmake/QtBuildInformation.cmake @@ -20,6 +20,10 @@ function(qt_print_build_instructions) set(build_command "cmake --build . --parallel") set(install_command "cmake --install .") + set(configure_module_command "qt-configure-module") + if(CMAKE_HOST_WIN32) + string(APPEND configure_module_command ".bat") + endif() message("Qt is now configured for building. Just run '${build_command}'\n") if(QT_WILL_INSTALL) @@ -30,7 +34,7 @@ function(qt_print_build_instructions) message("Note that this build cannot be deployed to other machines or devices.") endif() message("\nTo configure and build other Qt modules, you can use the following convenience script: - ${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake-private") + ${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/${configure_module_command}") message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \ from the build directory \n") endfunction() -- cgit v1.2.3