diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cb6e81a..a967d89f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,9 @@ endif(BUILD_STATIC) include_directories(${amunmt_SOURCE_DIR}) option(CUDA "Select to compile CUDA support by default if available" ON) - +option(MARIAN "Select to compile with Marian library" ON) +option(MARIAN_LIBRARY_ONLY "Automatically set when building amunmt. Don't touch this." ON) + if(CUDA) find_package(CUDA) if(CUDA_FOUND) @@ -36,6 +38,10 @@ else(CUDA) add_definitions(-DNO_CUDA) endif(CUDA) +if (MARIAN) + add_subdirectory(marian) +endif(MARIAN) + find_package(Boost COMPONENTS system filesystem program_options timer iostreams python thread) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) |