| 1 |
Author: Nilesh Patra <[email protected]> |
| 2 |
Description: Patch CMakeLists.txt to use system libs instead of code copies. |
| 3 |
Last-Changed: Wednesday - July 17, 2020 |
| 4 |
--- a/src/CMakeLists.txt |
| 5 |
+++ b/src/CMakeLists.txt |
| 6 |
@@ -1,8 +1,7 @@ |
| 7 |
cmake_minimum_required(VERSION 2.8) |
| 8 |
project(ngmlr) |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
+include_directories (/usr/include/htslib) |
| 13 |
include_directories (../lib) |
| 14 |
include_directories( ${ZLIB_INCLUDE_DIRS} ) |
| 15 |
|
| 16 |
@@ -40,7 +39,7 @@ |
| 17 |
OutputReadBuffer.cpp |
| 18 |
ScoreBuffer.cpp |
| 19 |
StrippedSW.cpp |
| 20 |
|
| 21 |
+ /usr/include/ssw.h |
| 22 |
unix.cpp |
| 23 |
unix_threads.cpp) |
| 24 |
|
| 25 |
@@ -50,5 +49,6 @@ |
| 26 |
|
| 27 |
TARGET_LINK_LIBRARIES(ngmlr ${ZLIB_LIBRARIES}) |
| 28 |
TARGET_LINK_LIBRARIES(ngmlr ${CMAKE_THREAD_LIBS_INIT}) |
| 29 |
+TARGET_LINK_LIBRARIES(ngmlr ssw) |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
+install (TARGETS ngmlr DESTINATION bin) |