cmake howto: ignoring /usr/local

David Evans devans at macports.org
Sun Jul 6 10:53:44 PDT 2014


On 7/6/14 9:44 AM, René J.V. Bertin wrote:
>
> On Sunday July 06 2014 11:40:55 Jeremy Lavergne wrote:
>
>  
>
> >Don't forget we set our own PATH as well. Perhaps cmake actually
> respects it.
>
>  
>
> I had a hunch, but didn't think yet to figure out to what you set it.
>
> It would make sense that this excludes anything installed in
> /usr/local that gets detected through pkg-config or dedicated *-config
> scripts that are expected in the path, but I presume cmake does not
> only use those as sources of information ...
>
>  
>
> Besides, I've set my own path to search /opt/local before /usr/local,
> so any of those scripts available in both locations should be found in
> /opt/local and not elsewhere ...
>
>  
>
> R.
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
See https://trac.macports.org/wiki/FAQ#usrlocal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140706/d04655d9/attachment.html>


More information about the macports-users mailing list