mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
bugfix(Cmake): Add include path of esp-tts
This commit is contained in:
parent
0dfa27ebd3
commit
dba60079cb
@ -4,6 +4,7 @@ set(COMPONENT_SRCS
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS
|
||||
esp-tts/esp_tts_chinese/include
|
||||
include
|
||||
)
|
||||
|
||||
@ -42,6 +43,7 @@ if(IDF_TARGET STREQUAL "esp32")
|
||||
voice_set_template
|
||||
"-Wl,--end-group")
|
||||
elseif(${IDF_TARGET} STREQUAL "esp32s2")
|
||||
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese")
|
||||
target_link_libraries(${COMPONENT_TARGET} "-Wl,--start-group"
|
||||
esp_tts_chinese_esp32s2
|
||||
voice_set_xiaole_esp32s2
|
||||
@ -80,4 +82,4 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
||||
|
||||
spiffs_create_partition_image(model ${COMPONENT_DIR}/model/target FLASH_IN_PROJECT DEPENDS ${COMPONENT_DIR}/model/target/_MODEL_INFO_)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user