From 34943a6f708ae7580e1fcbf5368623ba642a4644 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 21 Oct 2020 18:07:42 +0200 Subject: Turn warning about missing xcodebuild into notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On a mac that can build all of Qt with CMake, Ninja, and command line tools, there should be no warning just because a build tool that won't get used is not available. Turn the warning into an informative message instead so that IDE integrations (such as VSCode's CMake integration) don't flag warnings. Change-Id: I250c0e5dd0633b36ff2b690a52ba7ce3ceb22218 Reviewed-by: Tor Arne Vestbø --- cmake/QtAutoDetect.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/QtAutoDetect.cmake b/cmake/QtAutoDetect.cmake index d2defe762c..33ecef4a65 100644 --- a/cmake/QtAutoDetect.cmake +++ b/cmake/QtAutoDetect.cmake @@ -239,7 +239,7 @@ function(qt_internal_get_xcode_version out_var) OUTPUT_VARIABLE xcode_version ERROR_VARIABLE xcrun_error) if(NOT xcode_version) - message(WARNING "Can't determine Xcode version. Error: ${xcrun_error}") + message(NOTICE "Can't determine Xcode version. Error: ${xcrun_error}") endif() string(REPLACE "\n" " " xcode_version "${xcode_version}") string(STRIP "${xcode_version}" xcode_version) -- cgit v1.2.3