openexr: Fix build on Ubuntu 18.04
!807 (merged) was intended to fix a build failure caused by the introduction of a C++11 header in the
openexr library (more info here). Unfortunately, the logic implemented does not work on Ubuntu 18.04 since the offending commit was backported into version 2.2.0 as part of a broader set of security patches.
if openexr_dep.version().version_compare('< 2.4.0') openexr_cppargs += cxx.get_supported_arguments(['-std=c++98']) endif
Tl;dr: On Ubuntu 18.04, version 2.2.0 of
openexr now needs to be compiled with
-std=c++11. Therefore, the above logic needs to be updated.