If I try to enable building CUDA, CMake fails with this error:
CMake Error at CMakeLists.txt:8 (enable_language):
Language 'CUDA' is currently being enabled. Recursive call not allowed.
I tried removing the call to enable_language(CUDA), but then it fails with the errors,
CMake Error: Cannot determine link language for target "TestCudaANISymmetryFunctions".
CMake Error: CMake can not determine linker language for target: TestCudaANISymmetryFunctions
CMake Error: Cannot determine link language for target "TestCudaCFConv".
CMake Error: CMake can not determine linker language for target: TestCudaCFConv
If I try to enable building CUDA, CMake fails with this error:
I tried removing the call to
enable_language(CUDA), but then it fails with the errors,