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

Braden McDaniel braden at endoframe.com
Mon Feb 2 00:58:11 EST 2015


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>



More information about the CMake mailing list