build: fix missing dependency for library 72/33872/3
authorGuillaume Solignac <gsoligna@cisco.com>
Tue, 28 Sep 2021 13:01:26 +0000 (15:01 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 2 Mar 2022 10:54:56 +0000 (10:54 +0000)
commit08bd44bce59d79c71e5b39db9e28cb34a65434ca
tree73f8639dd3cc6a32c678922c71dd0b4dbe01dcd7
parent5981319a77fc3cd597193554333b34a8e12d622d
build: fix missing dependency for library

When building a VPP library out of tree using add_vpp_library, the build
sometimes fails because the library API files are not necessarily
generated before compiling this library.

This is fixed by adding the lib API files as dependencies of the
lib compilation.

Type: fix
Signed-off-by: Guillaume Solignac <gsoligna@cisco.com>
Change-Id: I69dffaecbfd547f10115504494a47358c4624258
src/cmake/library.cmake