mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 14:47:46 +00:00
[efr32] switch NAME_WLE to NAME_WE to be CMake 3.10 compatible (#6328)
NAME_WLE was added in CMake 3.14 and isn't available in 3.10, which is the default requirement for openthread. This switches imported_libs.cmake to NAME_WL, which is in 3.10.
This commit is contained in:
+2
-2
@@ -35,7 +35,7 @@ file(GLOB rail_libs ${librail_release_dir}/*.a)
|
||||
foreach(lib_file ${rail_libs})
|
||||
|
||||
# Parse lib name, stripping .a extension
|
||||
get_filename_component(lib_name ${lib_file} NAME_WLE)
|
||||
get_filename_component(lib_name ${lib_file} NAME_WE)
|
||||
set(imported_lib_name "silabs-${lib_name}")
|
||||
|
||||
# Add as an IMPORTED lib
|
||||
@@ -58,7 +58,7 @@ file(GLOB nvm3_libs ${libnvm3_release_dir}/*.a)
|
||||
foreach(lib_file ${nvm3_libs})
|
||||
|
||||
# Parse lib name, stripping .a extension
|
||||
get_filename_component(lib_name ${lib_file} NAME_WLE)
|
||||
get_filename_component(lib_name ${lib_file} NAME_WE)
|
||||
set(imported_lib_name "silabs-${lib_name}")
|
||||
|
||||
# Add as an IMPORTED lib
|
||||
|
||||
Reference in New Issue
Block a user