Closed davidgyu closed 1 year ago
Filed as internal issue #OSD-375
fyi, this just came up on the USD repo
https://github.com/PixarAnimationStudios/USD/pull/2339
perhaps that slightly guarded approach makes sense?
Agree with @meshula that we'd like a solution that works well for use cases like the sub-project and also is consistent with the USD repo.
Updated C++ standard to C++14
The OpenSubdiv public interface currently requires only C++11 but we choose this version since C++14 has been the default since GCC 6, Clang 6, and Visual Studio 2017 (for the most part) and C++14 has been the default for OpenSubdiv on macOS when support for Metal is enabled.
This setting is guarded so that it can be overridden by the caller when running CMake.
Fixes #1276