Skip to content

Commit 1a23bbd

Browse files
adding htslib_wrapper to autotools dependencies when --enable-htslib is passed
1 parent 23c6c50 commit 1a23bbd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Makefile.am

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ chromosome_utils.cpp sim_utils.cpp smithlab_os.cpp smithlab_utils.cpp \
2828
zlib_wrapper.cpp dna_four_bit.cpp cigar_utils.cpp
2929

3030
if ENABLE_HTS
31-
libsmithlab_cpp_a_SOURCES += htslib_wrapper_deprecated.cpp sam_record.cpp
31+
libsmithlab_cpp_a_SOURCES += htslib_wrapper_deprecated.cpp \
32+
htslib_wrapper.cpp sam_record.cpp
3233
endif
3334

3435
include_HEADERS = GenomicRegion.hpp MappedRead.hpp OptionParser.hpp \
3536
QualityScore.hpp bisulfite_utils.hpp chromosome_utils.hpp \
3637
sim_utils.hpp smithlab_os.hpp smithlab_utils.hpp zlib_wrapper.hpp \
37-
dna_four_bit.hpp cigar_utils.hpp htslib_wrapper_deprecated.hpp \
38-
sam_record.hpp
38+
dna_four_bit.hpp cigar_utils.hpp htslib_wrapper_deprecated.hpp sam_record.hpp
39+
40+
if ENABLE_HTS
41+
include_HEADERS += htslib_wrapper.hpp \
42+
htslib_wrapper_deprecated.hpp
43+
endif

0 commit comments

Comments
 (0)