Skip to content
Snippets Groups Projects
Commit 820444f4 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed setup

parent 15069b95
No related branches found
No related tags found
No related merge requests found
...@@ -103,10 +103,10 @@ class hdf5: ...@@ -103,10 +103,10 @@ class hdf5:
raise RuntimeError("could not find the required (%s) version of %s on the file system (looked at: %s)" % (requirement, self.name, ', '.join(candidates))) raise RuntimeError("could not find the required (%s) version of %s on the file system (looked at: %s)" % (requirement, self.name, ', '.join(candidates)))
# normalize # normalize
self.include_directories = [os.path.normpath(self.include_directory)] self.include_directories = [os.path.normpath(i) for i in self.include_directories]
# find library # find library
prefix = os.path.dirname(os.path.dirname(self.include_directory)) prefix = os.path.dirname(os.path.dirname(self.include_directories[0]))
module = 'hdf5' module = 'hdf5'
candidates = find_library(module, version=self.version, prefixes=[prefix], only_static=only_static) candidates = find_library(module, version=self.version, prefixes=[prefix], only_static=only_static)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment