diff options
author | Damjan Marion <damarion@cisco.com> | 2018-08-25 11:33:29 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-08-25 11:56:03 +0200 |
commit | 74449b8b68801e0938f528f19d69e75644cb2ee9 (patch) | |
tree | e3ba6294196c478d1a53c296043fb3ca58c6ee9c /src/plugins/memif | |
parent | 2bfdda76d8b1cffcd8e30ca6855f293b1b1953c5 (diff) |
cmake: improve add_vpp_plugin macro
Change-Id: Iffd5c45ab242a919592a1f686f7f880936b68a1a
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/memif')
-rw-r--r-- | src/plugins/memif/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/memif/CMakeLists.txt b/src/plugins/memif/CMakeLists.txt index 54d0befe29e..b225192d006 100644 --- a/src/plugins/memif/CMakeLists.txt +++ b/src/plugins/memif/CMakeLists.txt @@ -11,17 +11,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -add_vpp_plugin(memif_plugin - memif.api +add_vpp_plugin(memif + SOURCES memif.c memif_api.c cli.c node.c device.c socket.c -) -vpp_library_set_multiarch_sources(memif_plugin + API_FILES + memif.api + + MULTIARCH_SOURCES device.c node.c ) |