Skip to content

Commit 33efc73

Browse files
committed
fix: use [dependencies.compat] for non-modular deps
lua (C library) and gtest are compat (non-modular) packages in mcpp-index. Declare them under [dependencies.compat] / [dev-dependencies.compat] subtables so mcpp resolves the correct namespace ("compat") instead of the default ("mcpp") namespace. Required for mcpp 0.0.10+ namespace-aware dependency pipeline.
1 parent c69a99c commit 33efc73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mcpp.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ path = "src/capi/lua.cppm"
1212
[targets.capi-lua]
1313
kind = "lib"
1414

15-
[dependencies]
15+
[dependencies.compat]
1616
lua = "5.4.7"
1717

18-
[dev-dependencies]
18+
[dev-dependencies.compat]
1919
gtest = "1.15.2"

0 commit comments

Comments
 (0)