I have a cmake project that is using
I get this error:
-- Could NOT find CUDAToolkit (missing: CUDAToolkit_DIR) CMake Error at cmake/find_voreen_libraries.cmake:40 (find_package): Could not find a package configuration file provided by "CUDAToolkit" with any of the following names: CUDAToolkitConfig.cmake cudatoolkit-config.cmake Add the installation prefix of "CUDAToolkit" to CMAKE_PREFIX_PATH or set "CUDAToolkit_DIR" to a directory containing one of the above files. If "CUDAToolkit" provides a separate development package or SDK, be sure it has been installed.
To me, it seems like there’s some particularly broken about this system but I don’t know what it could be. I just installed latest stable release of cmake just in case, but I still get the same issue. The modules are there:
but cmake is not finding them.
What should I do next?
The find_package for cudatoolkit works elsewhere (both windows and linux), just not on that machine. So it’s definitely not a typo somewhere.