esp_phy: fix quoting issue for library path

pull/7680/head
Ivan Grokhotkov 2021-08-30 22:35:16 +02:00
rodzic c148c4c01c
commit ea99e5e969
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ idf_component_register(SRCS "${srcs}"
idf_build_get_property(build_dir BUILD_DIR)
set(target_name "${idf_target}")
target_link_libraries(${COMPONENT_LIB} PUBLIC "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/${target_name}")
target_link_libraries(${COMPONENT_LIB} PUBLIC "-L \"${CMAKE_CURRENT_SOURCE_DIR}/lib/${target_name}\"")
if(link_binary_libs)
target_link_libraries(${COMPONENT_LIB} PUBLIC phy)