diff --git a/cmake/QtAutoDetect.cmake b/cmake/QtAutoDetect.cmake index 5663c5ef191..683978a65aa 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)