File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def generate_provider_preset(provider_data: CMakeSyncData) -> CMakePresets:
2929
3030 if provider_data .toolchain :
3131 # Use the toolchainFile field for better integration
32- generated_configure_preset .toolchainFile = provider_data .toolchain
32+ generated_configure_preset .toolchainFile = provider_data .toolchain . as_posix ()
3333
3434 if cache_variables :
3535 generated_configure_preset .cacheVariables = cache_variables
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class ConfigurePreset(CPPythonModel, extra='allow'):
5959 Field (description = 'The path to the output binary directory.' ),
6060 ] = None
6161 toolchainFile : Annotated [
62- Path | None ,
62+ str | Path | None ,
6363 Field (description = 'Path to the toolchain file.' ),
6464 ] = None
6565 cacheVariables : dict [str , None | bool | str | CacheVariable ] | None = None
You can’t perform that action at this time.
0 commit comments