Skip to content

Commit

Permalink
Fixed CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramesh RAJABY committed Nov 13, 2018
1 parent 7c3ac52 commit 9a90171
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")

include_directories(htslib-1.7/include)
link_directories(htslib-1.7/lib)

set(READS_CATEGORIZER_SRC reads_categorizer.cpp sam_utils.h config.h libs/cptl_stl.h)
add_executable(reads_categorizer ${READS_CATEGORIZER_SRC})
Expand All @@ -25,10 +24,10 @@ add_executable(add_filtering_info ${ADD_FILTERING_INFO_SRC})
set(FILTER_SRC filter.cpp cluster.h)
add_executable(filter ${FILTER_SRC})

find_library(HTS_LIB hts)
find_library(HTS_LIB hts htslib-1.7/lib)
target_link_libraries(reads_categorizer "${HTS_LIB}")
target_link_libraries(clip_consensus_builder "${HTS_LIB}")
target_link_libraries(sc_categorizer "${HTS_LIB}")
target_link_libraries(dc_remapper "${HTS_LIB}")
target_link_libraries(add_filtering_info "${HTS_LIB}")
target_link_libraries(filter "${HTS_LIB}")
target_link_libraries(filter "${HTS_LIB}")

0 comments on commit 9a90171

Please sign in to comment.