File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ()
You can’t perform that action at this time.
0 commit comments