Re: [CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-20 Thread Rolf Eike Beer
> 2011/1/20 Alexander Neundorf : >> check_include_files() is there to check whether header files in the >> compilers >> system include path exist, i.e. which are found without any -I switches. >> So, from that POV, the behaviour is ok. > > Aha, so software using check_include_files() to look for

Re: [CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-20 Thread Bjørn Forsman
Hi Alexander, Thanks for your reply. 2011/1/20 Alexander Neundorf : > On Monday 10 January 2011, Bjørn Forsman wrote: >> Hi all, >> >> I just found out that CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH. The >> documentation for CHECK_INCLUDE_FILES says: >> >>   ... >>   The following variable

Re: [CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-20 Thread Alexander Neundorf
On Monday 10 January 2011, Bjørn Forsman wrote: > Hi all, > > I just found out that CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH. The > documentation for CHECK_INCLUDE_FILES says: > > ... > The following variables may be set before calling this macro to > modify the way the check is run:

Re: [CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-12 Thread Bjørn Forsman
2011/1/10 Bjørn Forsman : > Hi all, > > I just found out that CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH. The > documentation for CHECK_INCLUDE_FILES says: > >  ... >  The following variables may be set before calling this macro  to >  modify the way the check is run: > >    CMAKE_REQUIRED_FL

[CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-10 Thread Bjørn Forsman
Hi all, I just found out that CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH. The documentation for CHECK_INCLUDE_FILES says: ... The following variables may be set before calling this macro to modify the way the check is run: CMAKE_REQUIRED_FLAGS = string of compile command line fl