You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: Protect against mismatch of OpenVDB vs C++ (#4023)
Looks like OpenVDB >= 10.0 requires a minimum of C++17. Warn at build
time if trying to use an OpenVDB too new for the C++ compiler being
used.
Signed-off-by: Larry Gritz <[email protected]>
if (OpenVDB_FOUNDANDOpenVDB_VERSIONVERSION_GREATER_EQUAL10.0ANDCMAKE_CXX_STANDARDVERSION_LESS17)
239
+
message (WARNING"${ColorYellow}OpenVDB >= 10.0 (we found ${OpenVDB_VERSION}) can only be used when we build with C++17 or higher. Disabling OpenVDB support.${ColorReset}")
0 commit comments