From 3e6dc366a8828bca1b8442aed62675a2e520efe2 Mon Sep 17 00:00:00 2001 From: vvhh2002 Date: Fri, 13 Dec 2019 04:38:46 +0800 Subject: [PATCH] for esp-adf issues #270 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4d11bb..bb49605 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,14 +24,14 @@ register_component() set(COMPONENT_PRIV_REQUIRES audio_pipeline audio_sal) -target_link_libraries(${COMPONENT_NAME} "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_audio/lib" +target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_audio/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_codec/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_dlna/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_ssdp/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_upnp/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp_sip/lib" "-L ${CMAKE_CURRENT_SOURCE_DIR}/recorder_engine/lib") -target_link_libraries(${COMPONENT_NAME} +target_link_libraries(${COMPONENT_TARGET} esp_processing esp-aac esp-amr esp-amrwbenc esp-flac esp-ogg-container esp-opus esp-tremor esp_audio esp_dlna esp_ssdp esp_upnp esp_sip esp-mp3 recorder_engine)