adarob / eXpress

Streaming fragment assignment and quantification for high-throughput sequencing.
bio.math.berkeley.edu/eXpress
Other
36 stars 10 forks source link

CMake library updates #12

Closed nathanweeks closed 6 years ago

nathanweeks commented 8 years ago

This pull requests contains a couple requested changes to the CMake files:

  1. Allow the use of a previously-installed bamtools that's in another location, rather than requiring the user to download & install bamtools in the eXpress directory. I have access to a compute cluster where bamtools is installed and available via environment modules, and this method allows the user to specify the location of libbamtools.a via, e.g., the CMAKE_LIBRARY_PATH environment variable.
  2. At least on CentOS 6.7, librt and libpthread are needed when linking the express executable. It should hurt to include these for other *nix variants, as both libraries are specified by POSIX.