From: Chris Luke Date: Thu, 16 Jan 2020 01:30:04 +0000 (-0500) Subject: build: Add missing version.h dependency in vnet X-Git-Tag: v20.09-rc0~748 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F24362%2F1;p=vpp.git 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. Change-Id: I8e2bb32feeb16e1bdd8efb0d2633cfdba60f51aa Type: fix Signed-off-by: Chris Luke --- diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 56db74265cc..c2a0dd54401 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -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 ) ##############################################################################