You need to use `ocv_module_disable` here, otherwise the build system won't even know the module exists. Look at the other modules for examples.

Also, your condition should be just `NOT HAVE_VTK` - undefined variables are false, and `NOT HAVE_VTK` implies `NOT WITH_VTK`.