diff options
| author | ruki <[email protected]> | 2021-10-27 11:48:59 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-27 11:48:59 +0800 |
| commit | 9d80ed11e7b8ea3604c85aa3d5a8d42dd591ea02 (patch) | |
| tree | 7f2a05ec41dc3a5efaba1cd097cbd8f5a971426d /xmake/modules/private/action/require/impl/package.lua | |
| parent | 71217ef2ce95a70aad0fd1cad05eb462b4612a5b (diff) | |
| parent | 3225b2b74981dc87130966b0b6a4011f5e0eff6c (diff) | |
Merge pull request #1778 from xmake-io/nimble
Add Nimble package support
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 5a43de562..77c20648b 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -339,7 +339,7 @@ function _select_package_version(package, requireinfo, locked_requireinfo) version = "latest" source = "version" end - if not version then + if not version and not package:is_thirdparty() then raise("package(%s): version(%s) not found!", package:name(), require_version) end return version, source |
