Issue 14 in opencurrent: Unknown CMake command "CUDA_ADD_LIBRARY".

645 views
Skip to first unread message

openc...@googlecode.com

unread,
Feb 10, 2011, 5:10:29 PM2/10/11
to opencurr...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 14 by xueqianz...@gmail.com: Unknown CMake
command "CUDA_ADD_LIBRARY".
http://code.google.com/p/opencurrent/issues/detail?id=14

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.

openc...@googlecode.com

unread,
Feb 11, 2011, 9:17:35 PM2/11/11
to opencurr...@googlegroups.com

Comment #1 on issue 14 by jcohen.p...@gmail.com: Unknown CMake

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


openc...@googlecode.com

unread,
May 7, 2014, 7:42:11 PM5/7/14
to opencurr...@googlegroups.com

Comment #2 on issue 14 by guilloc...@gmail.com: Unknown CMake
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?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages