From 99ebbaead7621a45285e465dfda11bfb272abf6b Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 24 Jul 2020 18:18:06 +0100 Subject: Make missing XCode a warning instead of an error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the macOS build when you only have the CommandLineTools installed. Change-Id: I620bc535b508b604a875f53dec8c57af23efeac1 Reviewed-by: Alexandru Croitor 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 5663c5ef19..683978a65a 100644 --- a/cmake/QtAutoDetect.cmake +++ b/cmake/QtAutoDetect.cmake @@ -222,7 +222,7 @@ function(qt_internal_get_xcode_version out_var) OUTPUT_VARIABLE xcode_version ERROR_VARIABLE xcrun_error) if(NOT xcode_version) - message(FATAL_ERROR "Can't determine Xcode version. Error: ${xcrun_error}") + message(WARNING "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