Skip to content

Commit bfdc1dd

Browse files
committed
chore: remove useless cmake in openfst
1 parent 21c8375 commit bfdc1dd

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

runtime/cmake/openfst.cmake

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
if(NOT ANDROID)
2-
include(gflags)
3-
# We can't build glog with gflags, unless gflags is pre-installed.
4-
# If build glog with pre-installed gflags, there will be conflict.
5-
set(WITH_GFLAGS OFF CACHE BOOL "whether build glog with gflags" FORCE)
6-
include(glog)
7-
81
set(HAVE_BIN OFF CACHE BOOL "Build the fst binaries" FORCE)
92
set(HAVE_SCRIPT OFF CACHE BOOL "Build the fstscript" FORCE)
103
set(HAVE_COMPACT OFF CACHE BOOL "Build compact" FORCE)
@@ -32,9 +25,3 @@ if(NOT ANDROID)
3225
)
3326
FetchContent_MakeAvailable(openfst)
3427
include_directories(${openfst_SOURCE_DIR}/src/include)
35-
else()
36-
set(openfst_BINARY_DIR ${build_DIR}/wenet-openfst-android-1.0.2.aar/jni)
37-
include_directories(${openfst_BINARY_DIR}/include)
38-
link_directories(${openfst_BINARY_DIR}/${ANDROID_ABI})
39-
link_libraries(log glog fst gflags_nothreads)
40-
endif()

0 commit comments

Comments
 (0)