[CMake] How to force cmake to omitt default LINUX pathes on FreeBSD

Dariusz Niespodziany d.niespodziany at gmail.com
Mon May 26 11:41:03 EDT 2014


Hi
How to force CMAKE to search for executables in /usr/local/bin first, not
in /bin?

I have:

FIND_PROGRAM(FLEX_EXECUTABLE flex PATH /usr/local/bin DOC "path to the flex
executable" NO_DEFAULT_PATH)

But this is not proper way to.

Regards
niespodd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140526/e25545c5/attachment.html>


More information about the CMake mailing list