message: iOS Toolchain: do not set CMAKE_TRY_COMPILE_TARGET_TYPE to STATIC_LIBRARY
  Because of a bug in cmake:
diff: @@ -453,8 +453,6 @@ set(CMAKE_AR ar CACHE FILEPATH "" FORCE)
  set(CMAKE_RANLIB ranlib CACHE FILEPATH "" FORCE)
  # Set the architectures for which to build.
  set(CMAKE_OSX_ARCHITECTURES ${ARCHS} CACHE STRING "Build architecture for iOS")
  -# Change the type of target generated for try_compile() so it'll work when cross-compiling
  -set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
  # All iOS/Darwin specific settings - some may be redundant.
  set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
  set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")
  