diff options
author | Rolf Eike Beer <eb@emlix.com> | 2023-02-23 07:51:30 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-23 20:26:54 +0000 |
commit | 12be7ebfb9da83282e8b13b09aa636e0e700f659 (patch) | |
tree | db676d713803a83881e1b79262ebcc9de98de190 | |
parent | 7b669203bedf4e0801761389d3dc6ce5f6b1d0e2 (diff) |
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.
Change-Id: I77247c76b29c132386c4d77861c0f63418321871
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit df9a9c357f3ce2298846839d24878d519903ca9f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | configure.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 1e4cbea08..b20ab3b65 100644 --- a/configure.cmake +++ b/configure.cmake @@ -99,6 +99,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(); }" ) |