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 --- README.md | 4 +--- extractor/CMakeLists.txt | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 25190b33..9bb080d1 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,7 @@ Build instructions: - mkdir build - cd build - cmake .. + cmake . make -j4 make test ./tests/run-system-tests.pl 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