mirror of
https://github.com/slackr31337/wyoming-piper-gpu.git
synced 2026-10-18 22:48:09 +02:00
Update piper_CMakeLists.txt
This commit is contained in:
@@ -60,12 +60,12 @@ endif()
|
||||
|
||||
if(NOT DEFINED PIPER_PHONEMIZE_DIR)
|
||||
set(PIPER_PHONEMIZE_DIR "${CMAKE_CURRENT_BINARY_DIR}/pi")
|
||||
set(ONNXRUNTIME_VERSION "${ONNXRUNTIME_VERSION}")
|
||||
set(ONNXRUNTIME_VERSION "$ENV{ONNXRUNTIME_VERSION}")
|
||||
ExternalProject_Add(
|
||||
piper_phonemize_external
|
||||
PREFIX "${CMAKE_CURRENT_BINARY_DIR}/p"
|
||||
URL "https://github.com/rhasspy/piper-phonemize/archive/refs/heads/master.zip"
|
||||
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${PIPER_PHONEMIZE_DIR}:ONNXRUNTIME_VERSION=${ONNXRUNTIME_VERSION}
|
||||
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${PIPER_PHONEMIZE_DIR}
|
||||
)
|
||||
add_dependencies(piper piper_phonemize_external)
|
||||
add_dependencies(test_piper piper_phonemize_external)
|
||||
|
||||
Reference in New Issue
Block a user