summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-06-17 13:21:04 -0400
committerChris Dyer <redpony@gmail.com>2015-06-17 13:21:04 -0400
commit1925994b2857251196fb073406b5dae7e1aad326 (patch)
tree699b492f1ae39a9ffbb87ef3250898776bf0754b
parent06e019527be38325a00a5f467ec5dd4ed39b7bbb (diff)
fix link error
-rw-r--r--README.md4
-rw-r--r--extractor/CMakeLists.txt8
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