From 1925994b2857251196fb073406b5dae7e1aad326 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 17 Jun 2015 13:21:04 -0400 Subject: fix link error --- extractor/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'extractor') diff --git a/extractor/CMakeLists.txt b/extractor/CMakeLists.txt index c8998e91..5c73a279 100644 --- a/extractor/CMakeLists.txt +++ b/extractor/CMakeLists.txt @@ -56,17 +56,15 @@ endif(GTEST_FOUND) set(sacompile_SRCS sacompile.cc) add_executable(sacompile ${sacompile_SRCS}) -target_link_libraries(sacompile extractor utils ${Boost_LIBRARIES} z) +target_link_libraries(sacompile extractor utils ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES}) set(run_extractor_SRCS run_extractor.cc) add_executable(run_extractor ${run_extractor_SRCS}) -target_link_libraries(run_extractor extractor ${Boost_LIBRARIES} z) - +target_link_libraries(run_extractor extractor utils ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES}) set(extract_SRCS extract.cc) add_executable(extract ${extract_SRCS}) -target_link_libraries(extract extractor utils ${Boost_LIBRARIES} z) - +target_link_libraries(extract extractor utils ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES}) set(extractor_STAT_SRCS alignment.cc -- cgit v1.2.3