summaryrefslogtreecommitdiffstats
path: root/src/plugins/map
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-25 11:33:29 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-25 11:56:03 +0200
commit74449b8b68801e0938f528f19d69e75644cb2ee9 (patch)
treee3ba6294196c478d1a53c296043fb3ca58c6ee9c /src/plugins/map
parent2bfdda76d8b1cffcd8e30ca6855f293b1b1953c5 (diff)
cmake: improve add_vpp_plugin macro
Change-Id: Iffd5c45ab242a919592a1f686f7f880936b68a1a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/map')
-rw-r--r--src/plugins/map/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/map/CMakeLists.txt b/src/plugins/map/CMakeLists.txt
index 1dc1bedb51c..a3e6e3d2540 100644
--- a/src/plugins/map/CMakeLists.txt
+++ b/src/plugins/map/CMakeLists.txt
@@ -11,8 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-add_vpp_plugin(map_plugin
- map.api
+add_vpp_plugin(map
+ SOURCES
ip4_map.c
ip4_map_t.c
ip6_map.c
@@ -20,4 +20,7 @@ add_vpp_plugin(map_plugin
map_api.c
map.c
map_dpo.c
+
+ API_FILES
+ map.api
)