fix MSVC build for flite_hts_engine
This commit is contained in:
parent
46584bfc92
commit
1175a218c7
1 changed files with 4 additions and 0 deletions
4
3rdparty/flite_hts_engine/CMakeLists.txt
vendored
4
3rdparty/flite_hts_engine/CMakeLists.txt
vendored
|
@ -64,6 +64,10 @@ else()
|
||||||
flite/lang/usenglish/us_text.c
|
flite/lang/usenglish/us_text.c
|
||||||
flite/lang/usenglish/usenglish.c
|
flite/lang/usenglish/usenglish.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
add_definitions( -DNO_UNION_INITIALIZATION )
|
||||||
|
endif ()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (SYSTEM_HTS_ENGINE)
|
if (SYSTEM_HTS_ENGINE)
|
||||||
|
|
Loading…
Reference in a new issue