[CMake] Triggers for isysroot

P. Martin mrsmiley98 at lycos.com
Sun Mar 11 16:07:55 EDT 2012


On Mar 11, 2012, Michael Wild <themiwi at gmail.com> wrote: 
> On 03/11/2012 07:46 AM, P. Martin wrote:
> > In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot
> > to appear in flags.make for a cxx program when there is no code by the
> > devs to specifically add a -isysroot?  Thanks.
> 
> 
> Yes, the CMAKE_OSX_SYSROOT in the cache does that.
> 
> Michael


I made a hello world program in c++, building in a CMake project.
That variable gets defined during cmake.  It does not trigger the
inclusion of -isysroot /some/path/to/an/sdk in flags.make.
Thank you for your reply.


More information about the CMake mailing list