summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-21 18:07:42 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-22 02:43:17 +0200
commit34943a6f708ae7580e1fcbf5368623ba642a4644 (patch)
tree9edaaa009648c0b52d2a82a26705c56812b14304 /cmake
parentdd0647b17aa43bccf36285285ecccb54f18176ad (diff)
Turn warning about missing xcodebuild into notice
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ø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtAutoDetect.cmake2
1 files changed, 1 insertions, 1 deletions
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)