>>>>> Craig Earls <[email protected]> writes:
> Anyway, this looks like a local problem. I am still not sure how to
> deconflict the mpfr I have in /usr/local/lib with the macports mpfr in
> opt/local/lib/ I renamed the /usr/local/lib libraries just to see if I could
> get ledger to link against the maports version, but the build failed saying
> it had no recipe for /usr/local/lib/libmpfr.a
Here's what I do when I configure CMake:
cmake -DCMAKE_INCLUDE_PATH:STRING=/usr/local/include;/opt/local/include \
-DCMAKE_LIBRARY_PATH:STRING=/usr/local/lib;/opt/local/lib
That way it uses the headers in libs in /usr/local first, then in /opt/local.
John