summaryrefslogtreecommitdiff
path: root/klm/lm/builder
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-04-09 00:18:27 -0700
committerChris Dyer <redpony@gmail.com>2015-04-09 00:18:27 -0700
commit638e28db2b2146e8920ec105792d2b03a0de5c3e (patch)
tree80995ea6379462ca1b9c8aeb8e5559111a9613d8 /klm/lm/builder
parentb5aaa40ef7c9d216ae905b76f50e68a8f94656c9 (diff)
fix kenlm's use of compression libraries
Diffstat (limited to 'klm/lm/builder')
-rw-r--r--klm/lm/builder/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/klm/lm/builder/CMakeLists.txt b/klm/lm/builder/CMakeLists.txt
index 5fb1b2d2..e52875cb 100644
--- a/klm/lm/builder/CMakeLists.txt
+++ b/klm/lm/builder/CMakeLists.txt
@@ -24,8 +24,8 @@ set(lmplz_SRCS
sort.hh)
add_executable(lmplz ${lmplz_SRCS})
-target_link_libraries(lmplz klm klm_util_double klm_util_stream klm_util ${Boost_LIBRARIES})
+target_link_libraries(lmplz klm klm_util_double klm_util_stream klm_util ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES})
set(dump_counts_SRCS print.cc dump_counts_main.cc)
add_executable(dump_counts ${dump_counts_SRCS})
-target_link_libraries(dump_counts klm klm_util_double klm_util_stream klm_util ${Boost_LIBRARIES})
+target_link_libraries(dump_counts klm klm_util_double klm_util_stream klm_util ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES})