summaryrefslogtreecommitdiff
path: root/xmake/modules/lib
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-21 22:07:28 +0800
committerruki <[email protected]>2020-11-21 22:07:28 +0800
commit1eb2ac7dc458eca00f72173e3ec4a971e3edc790 (patch)
tree2516077acc5b2e6a4608d9916f47f9dc2afa91a9 /xmake/modules/lib
parent287d1e2ca2bd376d488f91d58dd36f45d2a3cf6a (diff)
fix external packages
Diffstat (limited to 'xmake/modules/lib')
-rw-r--r--xmake/modules/lib/detect/find_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/lib/detect/find_package.lua b/xmake/modules/lib/detect/find_package.lua
index 24abcb8ad..446abc432 100644
--- a/xmake/modules/lib/detect/find_package.lua
+++ b/xmake/modules/lib/detect/find_package.lua
@@ -66,8 +66,8 @@ function main(name, opt)
if opt.mode then
key = key .. "_" .. opt.mode
end
- if opt.isystem then
- key = key .. "_isystem"
+ if opt.external then
+ key = key .. "_external"
end
-- attempt to get result from cache first