NetworkManager/dispatcher/tests/meson.build
Thomas Haller e7836cd151 build/meson: rename "nm_core_dep" to "libnm_core_dep"
The library is called "libnm_core". So the dependency should be called
"libnm_core_dep", like in all other cases.

(cherry picked from commit c27ad37c27)
2019-04-18 20:13:49 +02:00

24 lines
458 B
Meson

test_unit = 'test-dispatcher-envp'
incs = [
dispatcher_inc,
libnm_inc,
]
exe = executable(
test_unit,
test_unit + '.c',
include_directories: incs,
dependencies: libnm_core_dep,
c_args: [
'-DNETWORKMANAGER_COMPILATION_TEST',
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
],
link_with: libnm_dispatcher_core,
)
test(
'dispatcher/' + test_unit,
test_script,
args: test_args + [exe.full_path()],
)