I am trying to build something with CMake (it has to be an older version because of the project) and when I run it I get this error:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindCUDA.cmake:617 (message):
Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
libethash-cuda/CMakeLists.txt:3 (FIND_PACKAGE)
I have looked everywhere online but I only find solutions for Linux.
CMake
variable. You would set that in cmake-gui. Or via the command line argument -D when launching cmake from a command prompt setup with the environment for your compiler.CMakeLists.txt
of the project. ;)CMakeLists.txt
although for me I build on many machines (use git or svn to hold the code) and even multiple compilers for the same source.