From 2a65804259e8c139c2d556f1c3e95f435280b4d2 Mon Sep 17 00:00:00 2001 From: Aloys Augustin Date: Tue, 13 Oct 2020 15:43:00 +0200 Subject: build: forward dependencies to arch-specific libs Without this, if a multiarch source depends on a generated api header for instance, the build would be racy between the api header generation and the multiarch object compilation. Type: improvement Signed-off-by: Aloys Augustin Change-Id: I08fcd0e5a1c51398ac1a8f37cf6562064b400d4a --- src/cmake/library.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmake/library.cmake') diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake index d6a63d325e9..06248a57aa3 100644 --- a/src/cmake/library.cmake +++ b/src/cmake/library.cmake @@ -39,7 +39,7 @@ macro(add_vpp_library lib) ) if(ARG_MULTIARCH_SOURCES) - vpp_library_set_multiarch_sources(${lib} ${ARG_MULTIARCH_SOURCES}) + vpp_library_set_multiarch_sources(${lib} "${ARG_DEPENDS}" ${ARG_MULTIARCH_SOURCES}) endif() if(ARG_API_FILES) -- cgit 1.2.3-korg