1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: enforce linking of -lrt -lpthread
This patch makes sure that these get linked even though they might
be missing in $SEQAN_LIBRARIES (until this is fixed in libseqan2-dev).
Author: Sascha Steinbiss <satta@debian.org>
--- lambda-align.orig/src/CMakeLists.txt
+++ lambda-align/src/CMakeLists.txt
@@ -208,8 +208,8 @@
radix_inplace.h)
# Add dependencies found by find_package (SeqAn).
-target_link_libraries (lambda ${SEQAN_LIBRARIES})
-target_link_libraries (lambda_indexer ${SEQAN_LIBRARIES})
+target_link_libraries (lambda ${SEQAN_LIBRARIES} rt pthread)
+target_link_libraries (lambda_indexer ${SEQAN_LIBRARIES} rt pthread)
# Add CXX flags found by find_package (SeqAn).
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SEQAN_CXX_FLAGS}")
|