The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13824 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13824
Category:                   Modules
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-31 03:41 EST
Last Modified:              2012-12-31 03:41 EST
====================================================================== 
Summary:                    FindCUDA: requires cmake project to have C++
toolchain
Description: 
I cannot use FindCUDA from a C-only cmake project.

Steps to Reproduce: 
$ cd /tmp
$ mkdir cuda
$ cd cuda
$ touch empty.c
$ cat CMakeLists.txt
project(bla C)
include(FindCUDA)
CUDA_ADD_LIBRARY(foo SHARED empty.c)
$ cmake .
[...]
-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_CXX_CREATE_SHARED_LIBRARY
-- Generating done
-- Build files have been written to: /tmp/cuda
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-31 03:41 Mathieu MalaterreNew Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to