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

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2016-05-01 12:23:55 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2016-05-01 12:23:55 +0300
commite6cb99c48ca1a8eb84a428ad7e3532e6c02de9b6 (patch)
treee295687d8128dba8f7e4dbfdf08a348a09d595ac /CMakeLists.txt
parentb80ec4fa04fb99e3a2b4f91f6a4df751a2de2195 (diff)
better file handling, better exceptions hanling
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
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)