build: Add missing version.h dependency in vnet
Two modules in vnet include vpp/app/version.h but there is
no explicit build dependency for this generated file. This
leaves a race condition in the build system that the Coverity
build has recently started triggering.
Type: fix
@@ -1583,7 +1583,7 @@ add_vpp_library(vnet
INSTALL_HEADERS ${VNET_HEADERS}
API_FILES ${VNET_API_FILES}
LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES}
- DEPENDS api_headers
+ DEPENDS vpp_version_h api_headers
)
##############################################################################
