mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
modify CMakeList to improve compatibility
This commit is contained in:
parent
eec128886f
commit
2e217e969b
@ -21,6 +21,7 @@ target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tt
|
||||
|
||||
IF (IDF_VER MATCHES "v4.")
|
||||
add_prebuilt_library(multinet "${CMAKE_CURRENT_SOURCE_DIR}/lib/libmultinet.a" PRIV_REQUIRES esp-sr)
|
||||
add_prebuilt_library(esp_audio_processor "${CMAKE_CURRENT_SOURCE_DIR}/acoustic_algorithm/libesp_audio_processor.a" PRIV_REQUIRES esp-sr)
|
||||
ENDIF (IDF_VER MATCHES "v4.")
|
||||
|
||||
if(IDF_TARGET STREQUAL "esp32")
|
||||
@ -56,4 +57,4 @@ target_link_libraries(${COMPONENT_TARGET} "-Wl,--start-group"
|
||||
voice_set_xiaole_esp32s2
|
||||
voice_set_template_esp32s2
|
||||
"-Wl,--end-group")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user