aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vapi
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-27 15:59:30 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-27 16:00:17 +0200
commit33ed3e4c7d0fa1335642ad45e4e52c7ba15cded6 (patch)
tree1e31042e398c19a4dba078f248d296823f1419f5 /src/vpp-api/vapi
parent917dc3b39dca1ddd0b268076d02cf15cf3e3de0c (diff)
cmake: fix clang build and few minor fixes
Change-Id: If5b850c939f7a5383f9a7eff8ac41708c3428a90 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp-api/vapi')
-rw-r--r--src/vpp-api/vapi/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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(