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

NoRulez norulez at me.com
Sun Feb 1 16:56:38 EST 2015


Hello,

I've my SDK under /Developer/SDKs/MacOSX10.7.sdk.

I've tried to set several CMake and environment variables, but check_include_files doesn't find anything. (e.g. sys/types.h, sys/stat.h, memory.h, ...)

What did I need to define, so that check_include_files find my include files?

The directory which i need to use:
/Developer/SDKs/MacOSX10.7.sdk/usr/include

Already tried CMake variables:
CMAKE_REQUIRED_INCLUDES
CNAKE_INCLUDE_PATH

Already tried environment variables:
USER_HEADER_SEARCH_PATH
HEADER_SEARCH_PATH
INCLUDEPATH
DYLD_LIBRARY_PATH
PATH
CPLUS_INCLUDE_PATH
C_INCLUDE_PATH

Could someone help?

Thanks in advance


More information about the CMake mailing list