Description
oiio_disable_boost_stacktrace.diff.txt
Is your feature request related to a problem? Please describe.
The stacktrace functionality creates an additional dependency on helper libraries like dbgeng.dll, even if it is not enabled. Such a dependency might be undesired in larger integrations.
Describe the solution you'd like
A cmake option to disable that functionality, see attachment for proof of concept.
Additional context
Should OIIO_HAS_STACKTRACE be affected by the patch? It is not affected by the Boost version check either (which might create wrong resultsif the header is used with a different boost version than the one used for building OIIO). Its documentation also says "has", not "working". Is the define basically just for convenience and serves the same purpose as a version check on OIIO_VERSION?