mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
set openfst HAVE_BIN/HAVE_SCRIPT off for win32
This commit is contained in:
parent
6bbeacb916
commit
e9fdbe3f5a
@ -48,8 +48,13 @@ option(HAVE_PYTHON "Build python" OFF)
|
||||
option(HAVE_SPECIAL "Build special" ON)
|
||||
|
||||
set(WITH_GFLAGS OFF CACHE BOOL "whether build glog with gflags" FORCE)
|
||||
set(HAVE_BIN ON CACHE BOOL "Build the fst binaries" FORCE)
|
||||
set(HAVE_SCRIPT ON CACHE BOOL "Build the fstscript" FORCE)
|
||||
if (WIN32)
|
||||
set(HAVE_BIN OFF CACHE BOOL "Build the fst binaries" FORCE)
|
||||
set(HAVE_SCRIPT OFF CACHE BOOL "Build the fstscript" FORCE)
|
||||
else()
|
||||
set(HAVE_BIN ON CACHE BOOL "Build the fst binaries" FORCE)
|
||||
set(HAVE_SCRIPT ON CACHE BOOL "Build the fstscript" FORCE)
|
||||
endif (WIN32)
|
||||
|
||||
set(HAVE_COMPACT OFF CACHE BOOL "Build compact" FORCE)
|
||||
set(HAVE_CONST OFF CACHE BOOL "Build const" FORCE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user