From 33ed3e4c7d0fa1335642ad45e4e52c7ba15cded6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 27 Aug 2018 15:59:30 +0200 Subject: cmake: fix clang build and few minor fixes Change-Id: If5b850c939f7a5383f9a7eff8ac41708c3428a90 Signed-off-by: Damjan Marion --- src/vpp-api/vapi/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vpp-api') diff --git a/src/vpp-api/vapi/CMakeLists.txt b/src/vpp-api/vapi/CMakeLists.txt index 8feb12e3dcf..103e7c50d16 100644 --- a/src/vpp-api/vapi/CMakeLists.txt +++ b/src/vpp-api/vapi/CMakeLists.txt @@ -50,7 +50,7 @@ foreach(f ${VPP_API_FILES}) list(APPEND VAPICLIENT_API_CPP_HEADERS ${output}) endforeach () -add_custom_target(all-vapi-headers ALL DEPENDS +add_custom_target(all-vapi-headers DEPENDS ${VAPICLIENT_API_C_HEADERS} ${VAPICLIENT_API_CPP_HEADERS} ) @@ -61,6 +61,7 @@ add_vpp_library(vapiclient libvapiclient.map LINK_LIBRARIES vppinfra vlibmemoryclient svm pthread m rt + DEPENDS all-vapi-headers ) install( -- cgit 1.2.3-korg