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
192192 OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
193193 ERROR_QUIET
194194 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} " )
197195endif ()
198196if (NOT EXISTS ${CMAKE_OSX_SYSROOT} )
199197 message (SEND_ERROR "Please make sure that Xcode is installed and that the toolchain"
@@ -202,6 +200,8 @@ if (NOT EXISTS ${CMAKE_OSX_SYSROOT})
202200 "and see if that fixes the problem for you." )
203201 message (FATAL_ERROR "Invalid CMAKE_OSX_SYSROOT: ${CMAKE_OSX_SYSROOT} "
204202 "does not exist." )
203+ elseif (DEFINED CMAKE_OSX_SYSROOT)
204+ message (STATUS "Using manually set SDK path: ${CMAKE_OSX_SYSROOT} for platform: ${IOS_PLATFORM} " )
205205else ()
206206 message (STATUS "Using SDK: ${CMAKE_OSX_SYSROOT} for platform: ${IOS_PLATFORM} " )
207207endif ()
You can’t perform that action at this time.
0 commit comments