diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-21 11:39:45 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-22 20:47:10 +0200 |
commit | 4b016c87c10c991aab6e8f21bb0ae92dd32e62d4 (patch) | |
tree | d905f8e00bf219581a330ab4ee1d731c3d63c650 /cmake | |
parent | 90e384d286c9de5d8036e6d9626ebbe3855deb73 (diff) |
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 <oliver.wolff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtBuildInformation.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
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() |