summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-04 23:45:24 +0800
committerruki <[email protected]>2023-01-04 23:45:24 +0800
commitb9d4dbe670ec1a5ca7454601777ed643723ba79c (patch)
treef8e7156efa4d21de9386d2aaa43582504a707f92 /xmake/modules/package/tools/cmake.lua
parent46d6f9d75a240f2dac3e50d17c02609e611b09c1 (diff)
add frameworks for packagedeps
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 770311cdb..62b1cfde5 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -151,6 +151,7 @@ function _get_ldflags_from_packagedeps(package, opt)
table.join2(result, _translate_paths(_map_linkflags(package, "binary", {"cxx"}, "linkdir", fetchinfo.linkdirs)))
table.join2(result, _map_linkflags(package, "binary", {"cxx"}, "link", fetchinfo.links))
table.join2(result, _translate_paths(_map_linkflags(package, "binary", {"cxx"}, "syslink", fetchinfo.syslinks)))
+ table.join2(result, _map_linkflags(package, "binary", {"cxx"}, "framework", fetchinfo.frameworks))
end
end
end