Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown CMake command "CUDA_ADD_LIBRARY". #14

Open
GoogleCodeExporter opened this issue May 18, 2015 · 2 comments
Open

Unknown CMake command "CUDA_ADD_LIBRARY". #14

GoogleCodeExporter opened this issue May 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant