I have a simple cuda application with only one cu file. The project is define using CMakeLists.txt, and the cmake works well if I execute cmake from cmd environment.
But if I invoke cmake in my cygwin environment, I got the following error:
– Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found version “7.5”)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
linked by target “hello_cuda” in directory /home/…
What is a “CUDA_CUDART_LIBRARY” variable? I can’t even find a reference to it.