Skip to content

Commit 76ab670

Browse files
Sunrisepeakclaude
andcommitted
fix: add mcpplibs-capi-lua to test for module resolution
The installed loader/executor cppm files import mcpplibs.capi.lua, so the test target needs explicit access to that module for scanning. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4d692cd commit 76ab670

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/m/mcpplibs-xpkg/xmake.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
add_requires("mcpplibs-xpkg 0.0.1")
2+
add_requires("mcpplibs-capi-lua 0.0.1")
23

34
target("mcpplibs-xpkg_test")
45
set_kind("binary")
56
set_languages("c++23")
67
add_files("main.cpp")
7-
add_packages("mcpplibs-xpkg")
8+
add_packages("mcpplibs-xpkg", "mcpplibs-capi-lua")
89
set_policy("build.c++.modules", true)

0 commit comments

Comments
 (0)