On Thu, Nov 27, 2014 at 5:24 PM, Thomas Patrick Kelly <[email protected]> wrote:
> Hi,
>
> When running cmake to install dolfin, is there a way to tell cmake to search
> for dependencies in a local folder, rather than checking the entire system?
>
> I am attempting to prepare a procedure for installing dolfin that is as
> local as possible, with as many dependencies as possible bundled with a
> folder.  I have been following the instructions for manual installation here
> (
> http://fenicsproject.org/download/installation_from_source.html#installation-from-source
> ), being careful to specify local prefixes.
>
> I am at the point where cmake is used to install dolfin.  I believe it
> checks the system for dependencies.  Is there a way to tell it to check for
> a local folder for these dependencies (Say, ~/local/fenics_dependencies)

Try:

  export CMAKE_PREFIX_PATH=~/local/fenics_dependencies

You might also need to do

  export BOOST_DIR=~/local/fenics_dependencies

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to