mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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/2035>
This commit is contained in:
parent
71f524be33
commit
ffea6475d4
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
openexr_dep = dependency('OpenEXR', required: get_option('openexr'))
|
||||
openexr_dep = dependency('OpenEXR', modules: ['OpenEXR::IlmImf'], required: get_option('openexr'))
|
||||
|
||||
if openexr_dep.found()
|
||||
openexr_override_options = []
|
||||
# Older versions of openexr fail to build with -Werror when using GCC >= 9.2
|
||||
|
|
Loading…
Reference in a new issue