jedbrown / cmake-modules

CMake modules for some scientific libraries
BSD 2-Clause "Simplified" License
87 stars 54 forks source link

Add additional paths for Ubuntu 14.04/Debian testing and MacPorts #5

Closed mdave closed 10 years ago

mdave commented 10 years ago

This PR adds two default search paths to FindPETSc.cmake:

  1. An additional directory for 3.4.2, since Debian testing and Ubuntu 14.04 now use this.
  2. The path to the distribution provided by MacPorts.

I am hoping item 1 should be fairly unobtrusive. In terms of item 2, we are adding PETSc as an external dependency in another project in which OS X is a relatively common development environment, and this saves some effort in configuration. I thought I would add this into the PR in case you want to include it.

jedbrown commented 10 years ago

I'll accept this patch, but we really need a version-independent way of specifying the Debian search directories.