mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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/2014>
This commit is contained in:
parent
952c1194f3
commit
b9f29bfc39
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()
|
if openexr_dep.found()
|
||||||
openexr_override_options = []
|
openexr_override_options = []
|
||||||
# Older versions of openexr fail to build with -Werror when using GCC >= 9.2
|
# Older versions of openexr fail to build with -Werror when using GCC >= 9.2
|
||||||
|
|
Loading…
Reference in a new issue