openexr: Specify modules when finding OpenEXR.
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 24 Mar 2022 07:19:27 +0000 (15:19 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 25 Mar 2022 07:45:54 +0000 (07:45 +0000)
commitb9f29bfc3928af26d9036c300c3f1bdcac42879f
tree65669c1da913935ad97fd42bf143aa820913b39e
parent952c1194f323fe2a899edfd6a37d5299c41b89c4
openexr: Specify modules when finding OpenEXR.

Specify modules to look for OpenEXR when CMake is used, as we may have
CMake config files instead of pkg-config files that result from building
OpenEXR, which may be built with CMake which is typically the case on Visual
Studio builds.

In this case, Meson does seem to find the 'OpenEXR' package with CMake
after trying pkg-config, but does not consider it enough without the
'modules:' argument.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2014>
subprojects/gst-plugins-bad/ext/openexr/meson.build