Skip to content
Permalink
Browse files

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>
  • Loading branch information...
hakonfam authored and nashif committed Apr 29, 2019
1 parent 5257fed commit 7411c0141e8261c1174d651f1297a22d940f43c1
Showing with 1 addition and 2 deletions.
  1. +1 −2 cmake/extensions.cmake
@@ -446,8 +446,7 @@ endfunction()
# Add the existing CMake library 'library' to the global list of
# Zephyr CMake libraries. This is done automatically by the
# constructor but must called explicitly on CMake libraries that do
# not use a zephyr library constructor, but have source files that
# need to be included in the build.
# not use a zephyr library constructor.
function(zephyr_append_cmake_library library)
set_property(GLOBAL APPEND PROPERTY ZEPHYR_LIBS ${library})
endfunction()

0 comments on commit 7411c01

Please sign in to comment.
You can’t perform that action at this time.