CMake decided to link the Debug libs for MaterialX because no specific RelWithDebInfo configuration was provided, strange default imho but not difficult to fix.