Add cuda libraries to rpath

parent e0ae0f04
......@@ -136,6 +136,7 @@ def generate(env):
# add required libraries
env.Append(CPPPATH=[cudaToolkitPath + '/include'])
env.Append(LIBPATH=[cudaToolkitPath + '/lib64'])
env.Append(RPATH=[cudaToolkitPath + '/lib64'])
env.Append(LIBS=['cudart'])
def exists(env):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment