diff options
| author | ruki <[email protected]> | 2019-01-24 00:52:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-23 23:14:25 +0800 |
| commit | b56c72c24a91c98cc11b83564b37bcea0c93cb79 (patch) | |
| tree | 236685da94d7e5ca5dc3c920a25d40da5b3ec3db /xmake/modules/detect | |
| parent | dae284b933cea7f3717a5a0dee3f18304b3fb1e0 (diff) | |
improve find_package from vcpkg
Diffstat (limited to 'xmake/modules/detect')
| -rw-r--r-- | xmake/modules/detect/packages/find_pcre2.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/packages/find_pcre2.lua b/xmake/modules/detect/packages/find_pcre2.lua index c65022c9c..bb3083193 100644 --- a/xmake/modules/detect/packages/find_pcre2.lua +++ b/xmake/modules/detect/packages/find_pcre2.lua @@ -54,6 +54,7 @@ function main(opt) end for _, width in ipairs({"8", "16", "32"}) do if links["pcre2-" .. width] then + result.links = {"pcre2-" .. width} result.defines = {"PCRE2_CODE_UNIT_WIDTH=" .. width} break end |
