From 106d095aca7c0e1c40c43ce196af327dc624444a Mon Sep 17 00:00:00 2001 From: Asher Norland Date: Tue, 24 May 2022 06:27:12 -0400 Subject: [PATCH] Add Missing Parenthesis --- cppython/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cppython/project.py b/cppython/project.py index ba5fc7e..38d4c64 100644 --- a/cppython/project.py +++ b/cppython/project.py @@ -173,7 +173,7 @@ def write_root_presets(self, path: Path): if root_model.include is not None: for index, include_path in enumerate(root_model.include): if Path(include_path).name == "cppython.json": - root_model.include[index] = "${sourceDir}/build" + path.as_posix() + root_model.include[index] = "${sourceDir}/build/" + path.as_posix() # 'dict.update' wont apply to nested types, manual replacement root_preset["include"] = root_model.include