20 lines
596 B
CMake
20 lines
596 B
CMake
|
|
||
|
add_executable(concordia-sentence-tokenizer concordia-sentence-tokenizer.cpp)
|
||
|
|
||
|
target_link_libraries(concordia-sentence-tokenizer concordia utf8case ${Boost_LIBRARIES} ${LIBCONFIG_LIB})
|
||
|
|
||
|
if (WITH_RE2)
|
||
|
target_link_libraries(concordia-sentence-tokenizer re2)
|
||
|
if (WITH_PCRE)
|
||
|
target_link_libraries(concordia-sentence-tokenizer pcrecpp)
|
||
|
endif(WITH_PCRE)
|
||
|
else(WITH_RE2)
|
||
|
if (WITH_PCRE)
|
||
|
target_link_libraries(concordia-sentence-tokenizer pcrecpp)
|
||
|
endif(WITH_PCRE)
|
||
|
endif(WITH_RE2)
|
||
|
|
||
|
# =====================================
|
||
|
|
||
|
install(TARGETS concordia-sentence-tokenizer DESTINATION bin/)
|