diff options
Diffstat (limited to 'src/plugins/CMakeLists.txt')
-rw-r--r-- | src/plugins/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 34d956d4f77..56cb6ef39fc 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -20,8 +20,8 @@ macro(add_vpp_plugin plugin_name) set(api_headers) foreach(f ${ARGN}) if(${f} MATCHES ".*\.api$") - vpp_generate_api_header(${f}) - list(APPEND api_headers ${f}.h) + vpp_generate_api_header(${f} plugins) + list(APPEND api_headers ${f}.h ${f}.json) endif() endforeach() add_library(${plugin_name} SHARED ${ARGN} ${api_headers}) @@ -36,7 +36,7 @@ macro(add_vpp_api_test_plugin plugin_name) set(api_headers) foreach(f ${ARGN}) if(${f} MATCHES ".*\.api$") - vpp_generate_api_header(${f}) + vpp_generate_api_header(${f} plugins) list(APPEND api_headers ${f}.h) endif() endforeach() |