Skip to content

Commit ebfe39c

Browse files
committed
Update plugin.py
1 parent 0dacefc commit ebfe39c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cppython/plugins/cmake/plugin.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ def sync(self, sync_data: SyncData) -> None:
6464
case CMakeSyncData():
6565
self._cppython_preset_directory.mkdir(parents=True, exist_ok=True)
6666

67-
# Provider now provides the preset file path, we don't generate it
67+
cppython_preset_file = self._cppython_preset_directory / 'CPPython.json'
68+
6869
cppython_preset_file = self.builder.write_cppython_preset(
69-
self._cppython_preset_directory, sync_data.preset_file, sync_data
70+
self._cppython_preset_directory, cppython_preset_file, sync_data
7071
)
7172

7273
self.builder.write_root_presets(

0 commit comments

Comments
 (0)