mactime: remove api boilerplate
[vpp.git] / src / plugins / mactime / CMakeLists.txt
index 5f82f4c..ac5077d 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(mactime_plugin
-  mactime.api
+add_vpp_plugin(mactime
+  SOURCES
   mactime.c
   node.c
-)
 
-add_vpp_api_test_plugin(mactime_test_plugin
+  API_FILES
   mactime.api
+
+  API_TEST_SOURCES
   mactime_test.c
 )
-