cmake howto: ignoring /usr/local

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sun Jul 6 08:40:55 PDT 2014


Don't forget we set our own PATH as well. Perhaps cmake actually respects it.

On July 6, 2014 11:30:07 AM EDT, "René J.V. Bertin" <rjvbertin at gmail.com> wrote:
>A quick question concerning the MacPorts cmake-fu: I've noticed that
>you've managed to get cmake to ignore everything installed in
>/usr/local . I've tried invoking /opt/local/bin/cmake directly (= not
>through port) with the exact same arguments as port uses, but then it
>does find libraries I installed myself in /usr/local .
>
>So: how do you manage to let /usr/local be ignored - clearly you don't
>rename it temporarily, nor is cmake executed in a chroot ...
>
>Thanks in advance :)
>R.
>_______________________________________________
>macports-users mailing list
>macports-users at lists.macosforge.org
>https://lists.macosforge.org/mailman/listinfo/macports-users



More information about the macports-users mailing list