aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/nat/CMakeLists.txt b/src/plugins/nat/CMakeLists.txt
index 931fa2c7984..1d0b641b378 100644
--- a/src/plugins/nat/CMakeLists.txt
+++ b/src/plugins/nat/CMakeLists.txt
@@ -11,8 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-add_vpp_plugin(nat_plugin
- nat.api
+add_vpp_plugin(nat
+ SOURCES
nat.c
nat_api.c
in2out.c
@@ -38,4 +38,7 @@ add_vpp_plugin(nat_plugin
nat66_cli.c
nat66_in2out.c
nat66_out2in.c
+
+ API_FILES
+ nat.api
)