File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,6 @@ if (NOT DEFINED CMAKE_OSX_SYSROOT OR (NOT CMAKE_OSX_SYSROOT STREQUAL CMAKE_OSX_S
192
192
OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
193
193
ERROR_QUIET
194
194
OUTPUT_STRIP_TRAILING_WHITESPACE )
195
- elseif (DEFINED CMAKE_OSX_SYSROOT )
196
- message (STATUS "Using manually set SDK path: ${CMAKE_OSX_SYSROOT} for platform: ${IOS_PLATFORM} " )
197
195
endif ()
198
196
if (NOT EXISTS ${CMAKE_OSX_SYSROOT} )
199
197
message (SEND_ERROR "Please make sure that Xcode is installed and that the toolchain"
@@ -202,6 +200,8 @@ if (NOT EXISTS ${CMAKE_OSX_SYSROOT})
202
200
"and see if that fixes the problem for you." )
203
201
message (FATAL_ERROR "Invalid CMAKE_OSX_SYSROOT: ${CMAKE_OSX_SYSROOT} "
204
202
"does not exist." )
203
+ elseif (DEFINED CMAKE_OSX_SYSROOT )
204
+ message (STATUS "Using manually set SDK path: ${CMAKE_OSX_SYSROOT} for platform: ${IOS_PLATFORM} " )
205
205
else ()
206
206
message (STATUS "Using SDK: ${CMAKE_OSX_SYSROOT} for platform: ${IOS_PLATFORM} " )
207
207
endif ()
You can’t perform that action at this time.
0 commit comments