diff options
| author | ruki <[email protected]> | 2017-10-18 23:19:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-10-18 13:59:40 +0800 |
| commit | 10bb94a674e52aee141ebec8badca5595bd5c409 (patch) | |
| tree | 22d8cdb7e4f95d7216aabf626211208ce1c1579d /tests | |
| parent | 23861f0674fe95fbd277caee6137c13a6b0b419d (diff) | |
support optional for install and download package
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/requires/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/requires/xmake.lua b/tests/projects/requires/xmake.lua index 8857c4b4f..a5747c1c1 100644 --- a/tests/projects/requires/xmake.lua +++ b/tests/projects/requires/xmake.lua @@ -1,13 +1,13 @@ -- define package package("mbedtls") set_urls("https://github.com/ARMmbed/mbedtls.git") - add_deps("https://github.com/glennrp/libpng.git@libpng >=1.6.28") + add_deps("https://github.com/glennrp/libpng.git@libpng >=1.6.28", {optional = true}) package_end() -- group packages package("zlib-mbedtls") add_deps("zlib >=1.2.11", {system = false}) - add_deps("mbedtls") + add_deps("mbedtls", {optional = true}) package_end() -- requires |
