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

2015-02-01 Thread NoRulez
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 : > >> On Sun, 2015-02-01 at 22:56 +0100, NoRulez wrote: >> I've my SDK under /Developer/SDKs/MacOSX

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

2015-02-01 Thread Braden McDaniel
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 t

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

2015-02-01 Thread NoRulez
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 di