Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lm/CMakeLists.txt')
-rw-r--r--lm/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/lm/CMakeLists.txt b/lm/CMakeLists.txt
index 9ec18a5..36d83cf 100644
--- a/lm/CMakeLists.txt
+++ b/lm/CMakeLists.txt
@@ -48,10 +48,18 @@ set(EXE_LIST
fragment
build_binary
kenlm_benchmark
- )
+)
set(LM_LIBS kenlm kenlm_util Threads::Threads)
+install(
+ TARGETS kenlm
+ EXPORT kenlmTargets
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+)
+
AddExes(EXES ${EXE_LIST}
LIBRARIES ${LM_LIBS})