Package: cmake-data
Version: 2.8.7-4~bpo60+1
Severity: normal

FindCUDA requires from a cmake project that the C++ compiler suite be present. 
This should not be required for C project

Steps:

$ 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


Thanks 

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cmake-data depends on:
ii  emacsen-common                1.4.22     Common facilities for all emacsen

cmake-data recommends no packages.

cmake-data suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to