[CMake] FIND_PATH() search custom path first

George george.ryan at gmail.com
Tue Oct 28 06:23:48 EDT 2014


Hi,

I have a situation where I need to prefer a custom-build of a library over
any system-installed versions. I understand that the paths in the HINTS
variable will be searched before the system ones, but the documentation
discourages its use with hard-coded paths.

If I do hard-code a HINTed path, what problems would that cause?

Thank you,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141028/d804e298/attachment.html>


More information about the CMake mailing list