Skip to content

Commit 8159b1a

Browse files
committed
Use Conan Toolchain Location
1 parent a4bec4b commit 8159b1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cppython/plugins/conan/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ def _create_cmake_sync_data(self) -> CMakeSyncData:
214214
Returns:
215215
CMakeSyncData configured for Conan integration
216216
"""
217-
# TODO: Use the actual toolchain path conan writes to
218-
conan_toolchain_path = self.core_data.cppython_data.tool_path
217+
conan_toolchain_path = self.core_data.cppython_data.build_path / 'generators' / 'conan_toolchain.cmake'
219218

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

0 commit comments

Comments
 (0)