[CMake] find_path() to search include path failed

Andreas Pakulat apaku at gmx.de
Thu Jun 21 07:31:05 EDT 2012


Hi,

On Thu, Jun 21, 2012 at 1:07 PM, hce <jupiter.hce at gmail.com> wrote:

> Hi,
>
> I am running 2.8.8 on Linux. I have a library already been set up in
> environment, I can see it in both LD_LIBRARY_PATH and $PATH, but when I was
> compiling another source code which calling find_path() to check the
> library
> package include path, it failed. In general, how the cmake find_path() to
> find include path works? What is equivalent Linux shell command I can check
> to make sure the library's include path is setting properly?
>

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

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120621/102cf55b/attachment.htm>


More information about the CMake mailing list