cmake: Fix plugins .h includes
[vpp.git] / src / plugins / stn / CMakeLists.txt
index c29cf5f..8d6279c 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(stn_plugin
-  stn.api
+add_vpp_plugin(stn
+  SOURCES
   stn.c
   stn_api.c
-)
 
-add_vpp_api_test_plugin(stn_test_plugin
+  API_FILES
   stn.api
+
+  INSTALL_HEADERS
+  stn.h
+  stn_all_api_h.h
+  stn_msg_enum.h
+
+  API_TEST_SOURCES
   stn_test.c
 )