X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fmeson.build;h=7ef0b3f83d021af6630df12f87178672cce2f0ff;hb=827606868bf9f1dd16208882f0e3ca424b3e9e0a;hp=2afff9e5ead674b3cd5fee1571d1baffe659c0f2;hpb=131a051c4cd3719a9be415386fdf0f4e15da7c66;p=nageru diff --git a/shared/meson.build b/shared/meson.build index 2afff9e..7ef0b3f 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -1,6 +1,9 @@ +qt5 = import('qt5') +qt5deps = dependency('qt5', modules: ['OpenGL']) +libmicrohttpddep = dependency('libmicrohttpd') -srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp'] -shared = static_library('shared', srcs, include_directories: top_include) +srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp'] +shared = static_library('shared', srcs, include_directories: top_include, dependencies: [qt5deps, libmicrohttpddep]) shareddep = declare_dependency( include_directories: top_include, link_with: shared)