mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
cmake: fix nrf91 modem static library build
This commit is contained in:
@@ -175,3 +175,12 @@ function(nuttx_add_library target)
|
||||
|
||||
nuttx_add_library_internal(${target})
|
||||
endfunction()
|
||||
|
||||
# Import static library
|
||||
#
|
||||
function(nuttx_library_import library_name library_path)
|
||||
add_library(${library_name} STATIC IMPORTED GLOBAL)
|
||||
set_target_properties(${library_name}
|
||||
PROPERTIES IMPORTED_LOCATION
|
||||
${library_path})
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user