Add support crosscompile for Mac Os system, needed only specify CMAKE_OSX_SYSROOT (Mac OS sdk path)