message: cmake: iOS needs to be linked to frameworks
  Somehow we get undefined references without linking to the Foundation
  and Security frameworks.
  libcurl is compiled with --with-darwinssl which seems to require this.
diff: @@ -48,6 +48,13 @@ target_link_libraries(dronecore
  ${DRONECORE_ZLIB_LIBRARIES}
  )
  +if (IOS)
  + target_link_libraries(dronecore
  + "-framework Foundation"
  + "-framework Security"
  + )
  +endif()
  +
  # Link to Windows networking lib.
  if (MSVC)
  target_link_libraries(dronecore
  