From b9ac1fa23617ccda383cb29fc7596826a8a68d59 Mon Sep 17 00:00:00 2001 From: Markus Reitboeck Date: Thu, 11 Apr 2019 23:38:52 +0200 Subject: [PATCH] CMake: generalize start build message this should work for all generators on all systems --- CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9325f9e841..e868cae517 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1514,8 +1514,6 @@ if(MSVC) endif() # Print message to start build process -if (${CMAKE_BUILD_TOOL} MATCHES "make") - message("=======================================\n" - "Now run 'make' to build ${PROJECT_NAME}\n" - "=======================================\n") -endif() +message("=================================================\n" + "Now run 'cmake --build ${CMAKE_BINARY_DIR}' to build ${PROJECT_NAME}\n" + "=================================================\n")