summaryrefslogtreecommitdiff
path: root/klm/lm
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-03-05 15:15:38 -0500
committerChris Dyer <redpony@gmail.com>2015-03-05 15:15:38 -0500
commite26256b9989d5ec8c7f7b3e4adb1aa2efe96c672 (patch)
tree39a71abe9107508f327a8ef10e23603e58d1c4ae /klm/lm
parent62b8b8e72c66da104e51d302ac41d1466b5d35ef (diff)
parent5eb2eb6693340c14766876bce705e3adb8733796 (diff)
Merge branch 'cmake' of https://github.com/redpony/cdec into cmake
Diffstat (limited to 'klm/lm')
-rw-r--r--klm/lm/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/klm/lm/CMakeLists.txt b/klm/lm/CMakeLists.txt
index 5814b623..b95cddee 100644
--- a/klm/lm/CMakeLists.txt
+++ b/klm/lm/CMakeLists.txt
@@ -1,13 +1,15 @@
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
+find_package(RT)
+
set(build_binary_SRCS build_binary_main.cc)
add_executable(build_binary ${build_binary_SRCS})
-target_link_libraries(build_binary klm klm_util klm_util_double z)
+target_link_libraries(build_binary klm klm_util klm_util_double z ${RT_LIBRARIES})
set(ngram_query_SRCS query_main.cc)
add_executable(ngram_query ${ngram_query_SRCS})
-target_link_libraries(ngram_query klm klm_util klm_util_double z)
+target_link_libraries(ngram_query klm klm_util klm_util_double z ${RT_LIBRARIES})
set(klm_STAT_SRCS
bhiksha.hh