From 74449b8b68801e0938f528f19d69e75644cb2ee9 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 25 Aug 2018 11:33:29 +0200 Subject: cmake: improve add_vpp_plugin macro Change-Id: Iffd5c45ab242a919592a1f686f7f880936b68a1a Signed-off-by: Damjan Marion --- src/plugins/lacp/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/plugins/lacp/CMakeLists.txt') diff --git a/src/plugins/lacp/CMakeLists.txt b/src/plugins/lacp/CMakeLists.txt index 0bd79e9800a..f6a30a711ae 100644 --- a/src/plugins/lacp/CMakeLists.txt +++ b/src/plugins/lacp/CMakeLists.txt @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -add_vpp_plugin(lacp_plugin - lacp.api +add_vpp_plugin(lacp + SOURCES lacp.c lacp_api.c selection.c @@ -23,9 +23,12 @@ add_vpp_plugin(lacp_plugin cli.c input.c node.c + + API_FILES + lacp.api ) -add_vpp_api_test_plugin(lacp_test_plugin +add_vpp_api_test_plugin(lacp_test lacp.api lacp_test.c ) -- cgit 1.2.3-korg