mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
esp_phy: fix quoting issue for library path
This commit is contained in:
@@ -22,7 +22,7 @@ idf_component_register(SRCS "${srcs}"
|
|||||||
idf_build_get_property(build_dir BUILD_DIR)
|
idf_build_get_property(build_dir BUILD_DIR)
|
||||||
|
|
||||||
set(target_name "${idf_target}")
|
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)
|
if(link_binary_libs)
|
||||||
target_link_libraries(${COMPONENT_LIB} PUBLIC phy)
|
target_link_libraries(${COMPONENT_LIB} PUBLIC phy)
|
||||||
|
Reference in New Issue
Block a user