cmake: Fix plugins .h includes
[vpp.git] / src / plugins / memif / CMakeLists.txt
index 54d0bef..c0d6f0d 100644 (file)
 # 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
+
+  API_TEST_SOURCES
+  memif_test.c
+
+  MULTIARCH_SOURCES
   device.c
   node.c
+
+  INSTALL_HEADERS
+  memif.h
+  memif_all_api_h.h
+  memif_msg_enum.h
 )