cmake: remove incorrect statement from doc
The function zephyr_append_cmake_library works with libraries that does not have source files. This change removes an incorrect statement related to that. Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
parent
5257fede63
commit
7411c0141e
1 changed files with 1 additions and 2 deletions
|
@ -446,8 +446,7 @@ endfunction()
|
||||||
# Add the existing CMake library 'library' to the global list of
|
# Add the existing CMake library 'library' to the global list of
|
||||||
# Zephyr CMake libraries. This is done automatically by the
|
# Zephyr CMake libraries. This is done automatically by the
|
||||||
# constructor but must called explicitly on CMake libraries that do
|
# constructor but must called explicitly on CMake libraries that do
|
||||||
# not use a zephyr library constructor, but have source files that
|
# not use a zephyr library constructor.
|
||||||
# need to be included in the build.
|
|
||||||
function(zephyr_append_cmake_library library)
|
function(zephyr_append_cmake_library library)
|
||||||
set_property(GLOBAL APPEND PROPERTY ZEPHYR_LIBS ${library})
|
set_property(GLOBAL APPEND PROPERTY ZEPHYR_LIBS ${library})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue