You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
include(FetchContent)
|
|
|
|
|
|
|
|
FetchContent_Declare(
|
|
|
|
gflags
|
|
|
|
URL https://paddleaudio.bj.bcebos.com/build/gflag-2.2.2.zip
|
|
|
|
URL_HASH SHA256=19713a36c9f32b33df59d1c79b4958434cb005b5b47dc5400a7a4b078111d9b5
|
|
|
|
)
|
|
|
|
FetchContent_MakeAvailable(gflags)
|
|
|
|
|
|
|
|
# openfst need
|
|
|
|
include_directories(${gflags_BINARY_DIR}/include)
|
|
|
|
link_directories(${gflags_BINARY_DIR})
|
|
|
|
|
|
|
|
#install(FILES ${gflags_BINARY_DIR}/libgflags_nothreads.a DESTINATION lib)
|