[CMake] CMake 3.0.2 check_include_files can't find include files in Mac OS X

NoRulez norulez at me.com
Mon Feb 2 02:48:19 EST 2015


Hi,

I've already set CMAKE_OSX_SYSROOT to /Developer/SDKs/MacOSX10.7.sdk
And CMAKE_OSX_DEPLOYMENT_TARGET to 10.7

Thanks in advance

Best regards


> Am 02.02.2015 um 06:58 schrieb Braden McDaniel <braden at endoframe.com>:
> 
>> On Sun, 2015-02-01 at 22:56 +0100, NoRulez wrote:
>> I've my SDK under /Developer/SDKs/MacOSX10.7.sdk.
> 
> You need to set CMAKE_OSX_SYSROOT to that path.
> 
> It's surprising you were able to get very far at all without that;
> perhpas CMAKE_OSX_SYSROOT got set to something else (you definitely
> don't want that).
> 
> -- 
> Braden McDaniel <braden at endoframe.com>
> 
> -- 
> 
> 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


More information about the CMake mailing list