Skip to content

Commit 5e07663

Browse files
authored
Merge pull request #17 from divmadan/fix/interface_filepath
CMakeLists.txt.in filepath minor fix
2 parents 957433b + 4343a2f commit 5e07663

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bindings/python/scripts/interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ def _get_args(self, category=None):
157157

158158

159159
def main():
160-
cmake = Template(filename="CMakeLists.txt.in")
160+
file_dir = os.path.dirname(__file__)
161+
cmake = Template(filename=os.path.join(file_dir, "CMakeLists.txt.in"))
161162
cat = CategorizedArgs()
162163
all_args = cat.categorized_args
163164
data = cmake.render(files=[], **(all_args))

0 commit comments

Comments
 (0)