Skip to content

Commit 9d6d387

Browse files
committed
Toolchain {sourceDir}
1 parent fa05a14 commit 9d6d387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppython/plugins/cmake/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def generate_cppython_preset(
4848

4949
if provider_data.toolchain_file:
5050
relative_toolchain = provider_data.toolchain_file.relative_to(project_root, walk_up=True)
51-
default_configure.toolchainFile = relative_toolchain.as_posix()
51+
default_configure.toolchainFile = '${sourceDir}/' + relative_toolchain.as_posix()
5252

5353
configure_presets.append(default_configure)
5454

0 commit comments

Comments
 (0)