From: Sascha Steinbiss <satta@debian.org>
Date: Sun, 9 Oct 2016 15:06:20 +0000
Subject: 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).
---
 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index da7ff38..9fc2e08 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -208,8 +208,8 @@ add_executable (lambda_indexer lambda_indexer.cpp
                 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}")
