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/gbp/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/gbp') diff --git a/src/plugins/gbp/CMakeLists.txt b/src/plugins/gbp/CMakeLists.txt index a9e9bd62692..738154a16c7 100644 --- a/src/plugins/gbp/CMakeLists.txt +++ b/src/plugins/gbp/CMakeLists.txt @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -add_vpp_plugin(gbp_plugin - gbp.api +add_vpp_plugin(gbp + SOURCES gbp_subnet.c gbp_contract.c gbp_endpoint.c @@ -24,4 +24,7 @@ add_vpp_plugin(gbp_plugin gbp_fwd.c gbp_fwd_dpo.c gbp_api.c + + API_FILES + gbp.api ) -- cgit 1.2.3-korg