cmake: improve add_vpp_plugin macro
[vpp.git] / src / plugins / abf / CMakeLists.txt
index 2bb90e2..5db9757 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(abf_plugin
-  abf.api
+add_vpp_plugin(abf
+  SOURCES
   abf_api.c
   abf_itf_attach.c
   abf_policy.c
+
+  API_FILES
+  abf.api
 )