aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-30 20:27:32 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-30 20:28:21 +0200
commitd1318256bfa69218beb10f9c9c0a5fcf1481eaf2 (patch)
treefd38eec683ba0a6f5c87e9316803d7d8574612ce
parentc8352bc43dfa02707e8806e1ae5b310bbdb4d302 (diff)
cmake: missing dependencies
Change-Id: Iae03deb10d437286989dd3d45f8cc9690d463100 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/vpp-api/vapi/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vapi/CMakeLists.txt b/src/vpp-api/vapi/CMakeLists.txt
index 0aff8827017..abf9ffb14fa 100644
--- a/src/vpp-api/vapi/CMakeLists.txt
+++ b/src/vpp-api/vapi/CMakeLists.txt
@@ -30,7 +30,7 @@ foreach(f ${VPP_API_FILES})
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/vapi_c_gen.py
ARGS --remove-path ${input}
- DEPENDS ${input} vapi_c_gen.py vapi_json_parser.py
+ DEPENDS ${input} vapi_c_gen.py vapi_json_parser.py api_headers
COMMENT "Generating VAPI C header ${output}"
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${output} DESTINATION include/vapi)
@@ -43,7 +43,7 @@ foreach(f ${VPP_API_FILES})
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/vapi_cpp_gen.py
ARGS --gen-h-prefix=vapi --remove-path ${input}
- DEPENDS ${input} vapi_cpp_gen.py vapi_json_parser.py
+ DEPENDS ${input} vapi_cpp_gen.py vapi_json_parser.py api_headers
COMMENT "Generating VAPI C++ header ${output}"
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${output} DESTINATION include/vapi)