Skip to content

Commit

Permalink
unbork cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Feb 22, 2016
1 parent 48b1b98 commit fcb8d2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ add_library(kenlm OBJECT ${KENLM_SOURCE})
add_subdirectory(builder)
add_subdirectory(common)
add_subdirectory(filter)


add_subdirectory(interpolate)

# Explicitly list the executable files to be compiled
set(EXE_LIST
Expand Down
6 changes: 2 additions & 4 deletions lm/interpolate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ set(KENLM_INTERPOLATE_SOURCE
split_worker.cc
tune_derivatives.cc
tune_instances.cc
tune_weights.cc
universal_vocab.cc)

add_library(kenlm_interpolate OBJECT ${KENLM_INTERPOLATE_SOURCE})

set(KENLM_INTERPOLATE_EXES
interpolate
perf_enum_gv
streaming_example
train_params
tune)
streaming_example)

set(KENLM_INTERPOLATE_DEPENDS
$<TARGET_OBJECTS:kenlm>
Expand Down
1 change: 1 addition & 0 deletions util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set(KENLM_UTIL_SOURCE
pool.cc
read_compressed.cc
scoped.cc
spaces.cc
string_piece.cc
usage.cc
)
Expand Down
1 change: 1 addition & 0 deletions util/stream/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cmake_minimum_required(VERSION 2.8.8)
#
set(KENLM_UTIL_STREAM_SOURCE
${CMAKE_CURRENT_SOURCE_DIR}/chain.cc
${CMAKE_CURRENT_SOURCE_DIR}/count_records.cc
${CMAKE_CURRENT_SOURCE_DIR}/io.cc
${CMAKE_CURRENT_SOURCE_DIR}/line_input.cc
${CMAKE_CURRENT_SOURCE_DIR}/multi_progress.cc
Expand Down

0 comments on commit fcb8d2c

Please sign in to comment.