An error occurred while loading the file. Please try again.
-
c111bf0f
CMakeLists.txt 698 B
PROJECT(morphodita)
cmake_minimum_required(VERSION 3.5.0)
set(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_FLAGS -pthread)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)
include_directories(${PROJECT_SOURCE_DIR}/g419-morphodita/src)
set(LIBS ${LIBS} ${PROJECT_SOURCE_DIR}/g419-morphodita/src/libmorphodita.a)
find_package(wsnlp 1.0.0 REQUIRED)
set(LIBS ${LIBS} ${WSNLP_LIBRARY})
find_package(Boost COMPONENTS program_options system thread filesystem)
link_directories(${Boost_LIBRARY_DIRS})
set(LIBS ${LIBS} ${Boost_LIBRARIES})
add_executable(morphodita morphoDita_service.cpp unmerge.cpp)
target_link_libraries(morphodita ${LIBS})
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../bin)