Skip to content

Commit d39189b

Browse files
committed
Update plugin.py
1 parent fbdb01f commit d39189b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cppython/plugins/conan/plugin.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,8 @@ def _create_cmake_sync_data(self) -> CMakeSyncData:
214214
Returns:
215215
CMakeSyncData configured for Conan integration
216216
"""
217-
# Conan's CMakeToolchain generator creates preset files at the configured user_presets_path
218-
# This should match the path configured in the conanfile template
219-
conan_toolchain_path = self.core_data.cppython_data.tool_path / 'ConanPresets.json'
217+
# TODO: Use the actual toolchain path conan writes to
218+
conan_toolchain_path = self.core_data.cppython_data.tool_path
220219

221220
return CMakeSyncData(
222221
provider_name=TypeName('conan'),

0 commit comments

Comments
 (0)