CUDA Regression in CMake 3.15 RC series
The CMake 3.15 RC series has introduced a regression with the Unix Makefiles
generator.
Issue was originally reported at: vtk/vtk-m#380 (closed)
➜ build_vtkm $ cmake ../vtk-m
-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_DEVICE_LINK_LIBRARY
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_DEVICE_LINK_LIBRARY
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_DEVICE_LINK_LIBRARY
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
➜ build_vtkm $ cmake --version
cmake version 3.15.0-rc2
Verified that CMake 3.14.5 doesn't have this issue.