X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fmeson.build;fp=shared%2Fmeson.build;h=8d1b203c7cd56e65feecd9eceea757f3dc3926f4;hb=4a38970b4e8cd4bce1dd9eabd56a45635501bbc3;hp=2afff9e5ead674b3cd5fee1571d1baffe659c0f2;hpb=2123c2da17f998e5add94781537ce4a622b3853b;p=nageru diff --git a/shared/meson.build b/shared/meson.build index 2afff9e..8d1b203 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -1,6 +1,8 @@ +qt5 = import('qt5') +qt5deps = dependency('qt5', modules: ['OpenGL']) -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'] +shared = static_library('shared', srcs, include_directories: top_include, dependencies: qt5deps) shareddep = declare_dependency( include_directories: top_include, link_with: shared)