2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 19:30:04 +01:00

Another regression due to the change in find_program from Jerome

This commit is contained in:
Thomas Nagy 2014-06-12 21:32:23 +02:00
parent e6b729487a
commit 89d3870951
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -37,7 +37,7 @@ def find_cuda_libs(self):
if not self.env.NVCC: if not self.env.NVCC:
self.fatal('check for nvcc first') self.fatal('check for nvcc first')
d = self.root.find_node(self.env.NVCC).parent.parent d = self.root.find_node(self.env.NVCC[0]).parent.parent
node = d.find_node('include') node = d.find_node('include')
_includes = node and node.abspath() or '' _includes = node and node.abspath() or ''