Skip to content

Commit 2c48553

Browse files
src/CMakeLists.txt: adding all the dependencies at the top level for linking to help ensure the dependencies are in the right order for static linking
1 parent c034f44 commit 2c48553

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,13 @@ target_link_libraries(dnmtools PUBLIC
5252
dnmtools_radmeth_objs
5353
dnmtools_mlml_objs
5454
dnmtools_amrfinder_objs
55+
bamxx
56+
HTSLIB::HTSLIB
57+
ZLIB::ZLIB
58+
Threads::Threads
5559
)
60+
if(USE_LIBDEFLATE)
61+
target_link_libraries(dnmtools PUBLIC
62+
LIBDEFLATE::LIBDEFLATE
63+
)
64+
endif()

0 commit comments

Comments
 (0)