summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2023-02-23 07:51:30 +0100
committerRolf Eike Beer <eb@emlix.com>2023-02-23 17:29:59 +0100
commitdf9a9c357f3ce2298846839d24878d519903ca9f (patch)
tree41366f5f843525af6c75c68f125de17f1695168b /configure.cmake
parent42cab4680cf5d344ee99dd5851a66d25fe491d5b (diff)
downloadqtwebengine-df9a9c357f3ce2298846839d24878d519903ca9f.tar.gz
CMake: check for vpx_codec_vp9_cx() presence in libvpx
This function is present in the headers even if the vp9 encoder is disabled during build. It is actually used later, which leads to a linker error when not present. Pick-to: 6.4 6.5 Change-Id: I77247c76b29c132386c4d77861c0f63418321871 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 6e97f8602..0b216a830 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -103,6 +103,7 @@ int main() {
pkt.data.frame.height[0] = 0u;
auto a = CONSTRAINED_FROM_ABOVE_DROP;
auto b = VPX_IMG_FMT_NV12;
+ auto v9 = vpx_codec_vp9_cx();
}"
)