Skip to content
Snippets Groups Projects

Support new Gaudi CMake

Merged Marco Clemencic requested to merge support-new-gaudi-cmake into master
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
@@ -853,10 +853,11 @@ def find_path(name, search_path=None):
environ.get('CMTPROJECTPATH', '').split(pathsep))
try:
return (join(path, name) for path in search_path
if exists(join(path, name))).next()
return next(
join(path, name) for path in search_path
if exists(join(path, name)))
except StopIteration:
logging.warning('%s not found in the search path', name)
logging.warning('%s not found in %r', name, search_path)
return None
Loading