[CMake] Visual Studio with CUDA does not work in 3.9
Mueller-Roemer, Johannes Sebastian
Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de
Fri Jun 23 07:06:57 EDT 2017
The absolute minimum example
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(cuda-test LANGUAGES C CXX CUDA)
add_executable(cuda-test main.cu)
Fails to configure with the error:
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CUDA_COMPILER could be found.
Am I missing something, or is the support mentioned in the change list simply not true?
Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5 | 64283 Darmstadt | Germany
Tel +49 6151 155-606 | Fax +49 6151 155-139
johannes.mueller-roemer at igd.fraunhofer.de<mailto:johannes.mueller-roemer at igd.fraunhofer.de> | www.igd.fraunhofer.de<http://www.igd.fraunhofer.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170623/a305895e/attachment-0001.html>
More information about the CMake
mailing list