1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
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
@@ -229,11 +229,11 @@
mkindex_saca.hpp)
add_executable (lambda2 ${LAMBDA_SOURCE_FILES})
-target_link_libraries (lambda2 ${SEQAN_LIBRARIES})
+target_link_libraries (lambda2 ${SEQAN_LIBRARIES} rt pthread)
if (LAMBDA_MULTIOPT_BUILD)
add_executable (lambda2-sse4 ${LAMBDA_SOURCE_FILES})
- target_link_libraries (lambda2-sse4 ${SEQAN_LIBRARIES})
+ target_link_libraries (lambda2-sse4 ${SEQAN_LIBRARIES} rt pthread)
set_target_properties (lambda2-sse4 PROPERTIES COMPILE_FLAGS "-mmmx -msse -msse2 -msse3 -mssse3 -msse4 -mpopcnt")
endif ()
|