CMake: Don't run sdk / xcode version checks on non-Apple platforms
It was an oversight. Amends a29bff3d80219f54d0837b0e6e0577192011dea1 Pick-to: 6.6 Change-Id: I696d7a2650c336dc93df01245065bcbb61ca1d6b Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
7bc6f4ae8e
commit
ffa79f5e0c
@ -781,6 +781,10 @@ endfunction()
|
||||
#
|
||||
# The qmake equivalent for user projects is in mkspecs/features/mac/default_post.prf.
|
||||
function(_qt_internal_check_apple_sdk_and_xcode_versions)
|
||||
if(NOT APPLE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(QT_NO_APPLE_SDK_AND_XCODE_CHECK)
|
||||
return()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user