Supress a warning building Flite
This commit is contained in:
parent
dc467ebdfa
commit
048cb38cd0
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
|
@ -75,6 +75,10 @@ if (X86_64)
|
|||
target_compile_definitions(flightgear_flite_hts PRIVATE -DSIZEOF_VOID_P=8)
|
||||
endif()
|
||||
|
||||
if (NOT MSVC)
|
||||
target_compile_options(flightgear_flite_hts PRIVATE -Wno-unused-function )
|
||||
endif()
|
||||
|
||||
# link against HTSEngine: either our own one, or the system one
|
||||
target_link_libraries(flightgear_flite_hts PUBLIC Flightgear::HTSEngine)
|
||||
|
||||
|
|
Loading…
Reference in a new issue