Skip to content

Commit e9c4faf

Browse files
committed
Change COMPONENT_NAME to COMPONENT_TARGET for support IDF v3.3.1
1 parent b1d1a1c commit e9c4faf

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/audio_hal/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ set(COMPONENT_SRCS ./audio_hal.c
3030

3131
register_component()
3232

33-
target_link_libraries(${COMPONENT_NAME} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/driver/zl38063/firmware")
34-
target_link_libraries(${COMPONENT_NAME} INTERFACE firmware)
33+
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/driver/zl38063/firmware")
34+
target_link_libraries(${COMPONENT_TARGET} INTERFACE firmware)

components/clouds/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set(COMPONENT_SRCS )
66

77
register_component()
88

9-
target_link_libraries(${COMPONENT_NAME} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/dueros/lightduer")
10-
target_link_libraries(${COMPONENT_NAME} INTERFACE duer-device)
9+
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/dueros/lightduer")
10+
target_link_libraries(${COMPONENT_TARGET} INTERFACE duer-device)
1111

components/esp-adf-libs

components/wifi_service/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ set(COMPONENT_SRCS src/esp_wifi_setting.c
1414

1515
register_component()
1616

17-
target_link_libraries(${COMPONENT_NAME} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/airkiss_config")
18-
target_link_libraries(${COMPONENT_NAME} INTERFACE airkiss_aes)
17+
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/airkiss_config")
18+
target_link_libraries(${COMPONENT_TARGET} INTERFACE airkiss_aes)

0 commit comments

Comments
 (0)