From ea99e5e969ef617d70bc3868ce1110c66d7181b8 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 30 Aug 2021 22:35:16 +0200 Subject: [PATCH] esp_phy: fix quoting issue for library path --- components/esp_phy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_phy/CMakeLists.txt b/components/esp_phy/CMakeLists.txt index 2ca1e68101..9f3064e125 100644 --- a/components/esp_phy/CMakeLists.txt +++ b/components/esp_phy/CMakeLists.txt @@ -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)