Skip to content

Commit

Permalink
Remove bzip2 requirement from kseq++
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaklin committed Jun 6, 2024
1 parent 2ee82f9 commit 1d4218f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ git clone https://github.com/tmaklin/alignment-writer
cd alignment-writer
git checkout ${VER}

## Remove the bzip2 dependency from kseq++
sed 's/find_package(BZip2 REQUIRED)//g' external/kseqpp/CMakeLists.txt | sed 's/^[[:space:]]*INTERFACE[[:space:]]*$<TARGET_PROPERTY:BZip2::BZip2,INTERFACE_INCLUDE_DIRECTORIES>//g' | sed 's/^[[:space:]]*INTERFACE[[:space:]]*$<BUILD_INTERFACE:BZip2::BZip2>;$<INSTALL_INTERFACE:BZip2::BZip2>//g' > kseqpp_CMakeLists.txt.tmp
mv kseqpp_CMakeLists.txt.tmp external/kseqpp/CMakeLists.txt

## Configure source build
mkdir build
cd build
Expand Down

0 comments on commit 1d4218f

Please sign in to comment.