diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2016-04-28 21:00:43 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2016-04-28 21:00:43 +0300 |
commit | 7e76b61f88fcce9f1ef1c704ff646326ffebf43d (patch) | |
tree | f32cc6b5a19c6da6087b3ba1e74801b71c9a30fa /CMakeLists.txt | |
parent | 273487f496665c29af072bafcacd2a1773b31f8b (diff) |
Towards YAML configurations
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1effd778..5823aa41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,13 @@ else(Boost_FOUND) message(SEND_ERROR "Cannot find Boost libraries. Terminating." ) endif(Boost_FOUND) +find_package (YamlCpp) +if (YAMLCPP_FOUND) + include_directories(${YAMLCPP_INCLUDE_DIRS}) + 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") |