summaryrefslogtreecommitdiff
path: root/xmake/modules/package
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-12 00:41:28 +0800
committerruki <[email protected]>2021-03-12 00:41:28 +0800
commite963699a72d351970cbd31246b601a9731e006a5 (patch)
tree743f2729bade415410695fa2b18b5dc7dd0fdf6c /xmake/modules/package
parent051264aa60973d3b7a1654412ea936e1da3a515c (diff)
support fetchonly
Diffstat (limited to 'xmake/modules/package')
-rw-r--r--xmake/modules/package/tools/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index ba3592a32..548b00e40 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -452,7 +452,7 @@ function buildenvs(package, opt)
local CMAKE_INCLUDE_PATH = {}
local CMAKE_PREFIX_PATH = {}
for _, dep in ipairs(package:orderdeps()) do
- if dep:isSys() then
+ if dep:is_system() then
local fetchinfo = dep:fetch()
if fetchinfo then
table.join2(CMAKE_LIBRARY_PATH, fetchinfo.linkdirs)