diff options
Diffstat (limited to 'lm/CMakeLists.txt')
-rw-r--r-- | lm/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lm/CMakeLists.txt b/lm/CMakeLists.txt index 069c6aa..e82cdc8 100644 --- a/lm/CMakeLists.txt +++ b/lm/CMakeLists.txt @@ -32,7 +32,7 @@ add_subdirectory(common) add_library(kenlm ${KENLM_LM_SOURCE} ${KENLM_LM_COMMON_SOURCE}) set_target_properties(kenlm PROPERTIES POSITION_INDEPENDENT_CODE ON) -target_link_libraries(kenlm kenlm_util ${Boost_LIBRARIES} Threads::Threads) +target_link_libraries(kenlm PUBLIC kenlm_util ${Boost_LIBRARIES} Threads::Threads) set(KENLM_MAX_ORDER 6 CACHE STRING "Maximum supported ngram order") target_compile_definitions(kenlm PUBLIC -DKENLM_MAX_ORDER=${KENLM_MAX_ORDER}) |