diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b939813..9cd42916 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ SET(CUDA_PROPAGATE_HOST_FLAGS OFF) include_directories(${amunn_SOURCE_DIR}) find_package(CUDA REQUIRED) -find_package(Boost COMPONENTS system filesystem program_options timer) +find_package(Boost COMPONENTS system filesystem program_options timer iostreams) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) set(EXT_LIBS ${EXT_LIBS} ${Boost_LIBRARIES}) @@ -24,15 +24,15 @@ if (YAMLCPP_FOUND) set(EXT_LIBS ${EXT_LIBS} ${YAMLCPP_LIBRARY}) endif (YAMLCPP_FOUND) -set(KENLM CACHE STRING "Path to compiled kenlm directory") -if (NOT EXISTS "${KENLM}/build/lib/libkenlm.a") - message(FATAL_ERROR "Could not find ${KENLM}/build/lib/libkenlm.a") -endif() +#set(KENLM CACHE STRING "Path to compiled kenlm directory") +#if (NOT EXISTS "${KENLM}/build/lib/libkenlm.a") +# message(FATAL_ERROR "Could not find ${KENLM}/build/lib/libkenlm.a") +#endif() -set(EXT_LIBS ${EXT_LIBS} ${KENLM}/build/lib/libkenlm.a) -set(EXT_LIBS ${EXT_LIBS} ${KENLM}/build/lib/libkenlm_util.a) -include_directories(${KENLM}) -add_definitions(-DKENLM_MAX_ORDER=6) +#set(EXT_LIBS ${EXT_LIBS} ${KENLM}/build/lib/libkenlm.a) +#set(EXT_LIBS ${EXT_LIBS} ${KENLM}/build/lib/libkenlm_util.a) +#include_directories(${KENLM}) +#add_definitions(-DKENLM_MAX_ORDER=6) find_package (BZip2) if (BZIP2_FOUND) |