aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-08-21 05:32:02 -0700
committerNeale Ranns <neale.ranns@cisco.com>2018-08-21 05:32:02 -0700
commit6a36705915916e8d580be468a2f5cfbf7e2bae50 (patch)
tree0ca904b685a580a6aca7e8b162a8cba906ee0aa7 /src
parent6604ddea991e64fe0e8e51176eb0583058ebbc35 (diff)
CMake: stats clients depend on the .api header generation
Change-Id: I5bdc57a8dd13ef34799052cc642fc45b78bafdc6 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt
index 9624ff7f761..98384082f67 100644
--- a/src/vpp/CMakeLists.txt
+++ b/src/vpp/CMakeLists.txt
@@ -78,6 +78,8 @@ install(TARGETS vpp_get_metrics DESTINATION bin)
##############################################################################
add_executable(summary_stats_client api/summary_stats_client.c)
add_executable(stat_client app/stat_client.c)
+add_dependencies(summary_stats_client api_headers)
+add_dependencies(stat_client api_headers)
target_link_libraries(summary_stats_client vppinfra svm vlibmemoryclient)
target_link_libraries(stat_client vppinfra svm vlibmemoryclient)