diff options
| author | ruki <[email protected]> | 2024-12-03 23:41:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-12-03 23:41:57 +0800 |
| commit | 50b8022ef3a6a25a0ef53775b6cf8dc17503f04a (patch) | |
| tree | 0a3ec77be4d730eaf19bb9a62faee57dc09461e2 /tests/projects | |
| parent | d36ccc63a37662aa47359be90dc19cd6f09c32a5 (diff) | |
improve package install tips
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/package/compatibility/deps_with_version/xmake.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/projects/package/compatibility/deps_with_version/xmake.lua b/tests/projects/package/compatibility/deps_with_version/xmake.lua index 89a388cb1..f82007af9 100644 --- a/tests/projects/package/compatibility/deps_with_version/xmake.lua +++ b/tests/projects/package/compatibility/deps_with_version/xmake.lua @@ -7,14 +7,14 @@ package_end() package("bar") add_deps("zlib 1.2.x") -- add_deps("libpng dev") - add_deps("libpng", {configs = {shared = false}}) +-- add_deps("boost", {system = false, configs = {}}) set_policy("package.install_locally", true) on_install(function () end) package_end() package("zoo") -- add_deps("libpng master") - add_deps("libpng", {configs = {shared = true}}) +-- add_deps("boost", {system = false, configs = {zlib = true}}) set_policy("package.install_locally", true) on_install(function () end) package_end() @@ -26,6 +26,7 @@ package("test") package_end() add_requires("test") +--add_requireconfs("**.boost", {override = true, configs = {zlib = false}}) target("test") set_kind("binary") |
