Skip to content

Commit

Permalink
Use all ENABLE_ defines in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
PlagueCZ committed Sep 27, 2024
1 parent 5a4b65a commit 6d6d43c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ if get_option('enable_virtual_services')
add_global_arguments('-DENABLE_VIRTSVC', language: ['c', 'cpp'])
endif
if get_option('enable_static_underlay_ip')
add_global_arguments('-DENABLE_STATIC_UNDERLAY_IP', language: 'c')
add_global_arguments('-DENABLE_STATIC_UNDERLAY_IP', language: ['c', 'cpp'])
endif
if get_option('enable_tests')
add_global_arguments('-DENABLE_PYTEST', language: 'c')
add_global_arguments('-DENABLE_PYTEST', language: ['c', 'cpp'])
endif
if get_option('enable_pf1_proxy')
add_global_arguments('-DENABLE_PF1_PROXY', language: 'c')
add_global_arguments('-DENABLE_PF1_PROXY', language: ['c', 'cpp'])
endif

dpdk_dep = dependency('libdpdk', version: '>=21.11.0')
Expand Down

0 comments on commit 6d6d43c

Please sign in to comment.