Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cmake: improve add_vpp_plugin macro
[vpp.git]
/
src
/
plugins
/
mactime
/
CMakeLists.txt
diff --git
a/src/plugins/mactime/CMakeLists.txt
b/src/plugins/mactime/CMakeLists.txt
index
5f82f4c
..
f2986a9
100644
(file)
--- a/
src/plugins/mactime/CMakeLists.txt
+++ b/
src/plugins/mactime/CMakeLists.txt
@@
-11,13
+11,16
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# 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
mactime.c
node.c
+
+ API_FILES
+ mactime.api
)
)
-add_vpp_api_test_plugin(mactime_test
_plugin
+add_vpp_api_test_plugin(mactime_test
mactime.api
mactime_test.c
)
mactime.api
mactime_test.c
)