I'm away from keyboard until June 8th. everything written is from the top of my head.
AFAIR the warning goes away if you properly set the OSX SYSROOT. Setting it to macosx without version number should be sufficient (maybe you have to insert a xcrun --showsdk-path there). As far as I see the warning originates from times where Xcode bundled two SDKs and CMake was not sure which one to pick if there was no direct match between of the deployment target version. I would keep the warning but document the mechanics between SYSROOT and Deployment Target. The warning then could refer to the docs. In the long term CMake should provide a tool chain file for OSX and iOS. Thanks, Gregor
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers