Skip to content

Commit 4343a2f

Browse files
committed
[interface.py] CMakeLists.txt.in filepath minor fix
1 parent 957433b commit 4343a2f

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)