[CMake] find_path() to search include path failed

Andreas Pakulat apaku at gmx.de
Fri Jun 22 01:22:39 EDT 2012


Hi,

On Fri, Jun 22, 2012 at 6:33 AM, hce <jupiter.hce at gmail.com> wrote:

>
> Andreas Pakulat-2 wrote
> >
> > You can find extensive explanation where find_path works on the different
> > platforms in the CMake documentation:
> > http://cmake.org/cmake/help/v2.8.8/cmake.html#command:find_path
> >
>
> Thanks Andreas, but I am not looking for how to use find_path command. What
> I really want to know is the function mechanism that the find_path used to
> search the library include path. Does the find_path look at Linux
> environment PATH to find the include path, or does the find_path look at
> environment LD_LIBRARY_PATH to decide whether the include path exists or
> not?
>

I understood your intent and I'm telling you its all there written down in
the CMake documentation for the function. Just scroll past the first two or
three paragraphs and then you'll find extensive documentation which cmake
and environment variables are searched and in which order.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120622/484269b2/attachment.htm>


More information about the CMake mailing list