diff --git a/cppython/project.py b/cppython/project.py index 38d4c64..f251ae8 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] = "build/" + path.as_posix() # 'dict.update' wont apply to nested types, manual replacement root_preset["include"] = root_model.include