[openimageio] /utf-8 is required on Windows, but not supplied by the cmake target #41405
Labels
category:port-feature
The issue is with a library, which is requesting new capabilities that didn’t exist
Is your feature request related to a problem? Please describe.
If you include
<openimageio.h>
on Windows you get the following compilation error:This is because openimageio depends on libfmt v11 which requires this. However, the
OpenImageIO::OpenImageIO
target doesn't add this as aPUBLIC
compile option for this target, so the required switch is not propagated to clients of the OpenImageIO target.Proposed solution
Add the necessary compile option on Windows
Describe alternatives you've considered
There really isn't one as it prevents any portion of the library from being used.
Additional context
See attached ZIP of source code that reproduces the problem.
oiio-utf8.zip
The text was updated successfully, but these errors were encountered: