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-20 Thread Bjørn Forsman
Hi Alexander, Thanks for your reply. 2011/1/20 Alexander Neundorf a.neundorf-w...@gmx.net: 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

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 a.neundorf-w...@gmx.net: 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()

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 bjorn.fors...@gmail.com: 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: