diff options
author | Alex Richardson <arichardson.kde@gmail.com> | 2020-07-24 18:18:06 +0100 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-07-26 16:13:29 +0100 |
commit | 99ebbaead7621a45285e465dfda11bfb272abf6b (patch) | |
tree | ba7ceb74eaa6e49ecef329da76d98e9547eafe00 /cmake/QtAutoDetect.cmake | |
parent | 841f05fae6c0fc164d09d4ca995eb2d596e73cc7 (diff) |
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>
Diffstat (limited to 'cmake/QtAutoDetect.cmake')
-rw-r--r-- | cmake/QtAutoDetect.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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) |