Make missing XCode a warning instead of an error
This fixes the macOS build when you only have the CommandLineTools installed. Change-Id: I620bc535b508b604a875f53dec8c57af23efeac1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
841f05fae6
commit
99ebbaead7
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue