CallForSanity / opencurrent

Automatically exported from code.google.com/p/opencurrent
0 stars 0 forks source link

Unknown CMake command "CUDA_ADD_LIBRARY". #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I entered ..../src/, then typed cmake ocuequation/
2.
3.

What is the expected output? What do you see instead?

CMake Error at CMakeLists.txt:15 (CUDA_ADD_LIBRARY):
  Unknown CMake command "CUDA_ADD_LIBRARY".

What version of the product are you using? On what operating system?
1.0.1, ubuntu 8.04 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by xueqianz...@gmail.com on 10 Feb 2011 at 10:10

GoogleCodeExporter commented 9 years ago
You have to run cmake on the top level directory, e.g.:

('src' and 'sm20_rel' are parallel to each other)
from the top level:
cd sm20_rel
cmake ../src

Original comment by jcohen.p...@gmail.com on 12 Feb 2011 at 2:17

GoogleCodeExporter commented 9 years ago
This is for a different bit of code that relies upon CUDA, but I get the same 
error message, and it is not related to being in the src directory. I created a 
"build" directory parallel to "src", and then ran "cmake ../src", and I get the 
same error message. Any idea if there's another solution to this problem?

Original comment by guilloc...@gmail.com on 7 May 2014 at 11:41