Skip to content

Commit

Permalink
fix qt for macos #4499
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Dec 14, 2023
1 parent b02db32 commit 8673991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/rules/qt/load.lua
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ function main(target, opt)
target:add("rpathdirs", "@executable_path/Frameworks", qt.libdir)
else
target:add("rpathdirs", qt.libdir)
_add_includedirs(target, qt.includedir)

-- remove qt frameworks
local frameworks = table.wrap(target:get("frameworks"))
Expand All @@ -360,6 +359,7 @@ function main(target, opt)
end
target:set("frameworks", frameworks)
end
_add_includedirs(target, qt.includedir)
_add_includedirs(target, path.join(qt.mkspecsdir, "macx-clang"))
target:add("linkdirs", qt.libdir)
elseif target:is_plat("linux") then
Expand Down

0 comments on commit 8673991

Please sign in to comment.