Is it really any different from other modes? OpenCV will have a dependency on VTK either way. Also, you don't _have_ to test it if you don't have any special code to support it. 

I'm not going to insist on this one, but it seems like you wrote more code than necessary only to add a restriction that doesn't help users.