cmake: Fix plugins .h includes
[vpp.git] / src / plugins / pppoe / CMakeLists.txt
index fca2102..61ed7a4 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(pppoe_plugin
-  pppoe.api
+add_vpp_plugin(pppoe
+  SOURCES
   pppoe_api.c
   pppoe.c
   pppoe_cp.c
   pppoe_cp_node.c
   pppoe_decap.c
-)
 
-add_vpp_api_test_plugin(pppoe_test_plugin
+  API_FILES
   pppoe.api
+
+  INSTALL_HEADERS
+  pppoe_all_api_h.h
+  pppoe_msg_enum.h
+
+  API_TEST_SOURCES
   pppoe_test.c
 )