message(-----------------${OPENFST_INCLUDE_DIR}--------------------)
|
|
include_directories(${OPENFST_INCLUDE_DIR})
|
|
add_library(utils STATIC
|
|
wn_string.cc
|
|
wn_utils.cc
|
|
)
|
|
|
|
if(NOT ANDROID)
|
|
if(MSVC)
|
|
target_link_libraries(utils PUBLIC fst)
|
|
else()
|
|
target_link_libraries(utils PUBLIC fst dl)
|
|
endif()
|
|
endif()
|