Rolf Eike Beer wrote:

> ok, I now have:
> 
> find_path(VAR header.h
>  HINTS /opt/p1
>  PATHS /opt/p2
>  PATH_SUFFIXES foo)
> 
> This would search in /usr/include, /usr/foo, /opt/p1/foo, /opt/p2/foo, but
> neither in /opt/p1/include nor /opt/p2/include. Correct?
As far as I understand, it will search:
/opt/p1, /opt/p1/foo, /usr/include, /usr/include/foo, /opt/p2, /opt/p2/foo.
-- 
Yury G. Kudryashov,
mailto: [email protected]

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to