Enable Cuda leads to configure error since CMake 3.6
Setting VTK_USE_CUDA
to ON, I have the following configuration error:
CMake Error at CMakeLists.txt:127 (enable_language):
Language 'CUDA' is currently being enabled. Recursive call not allowed.
It seems from here that the error may be due to some changes on the enable_language()
procedure.