Skip to content

Commit

Permalink
Add check of whether given project dependencies link when returning list
Browse files Browse the repository at this point in the history
  • Loading branch information
KageKirin committed Feb 28, 2020
1 parent 28b4890 commit 519e47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
if prj and kind ~= "system" then

local prjcfg = premake.getconfig(prj, cfgname, cfg.platform)
if kind == "dependencies" or canlink(cfg, prjcfg) then
if kind == "dependencies" or canlink(cfg, prjcfg) and premake.projectdoeslink(prj, cfgname, cfg.platform) then
if (part == "directory") then
item = path.rebase(prjcfg.linktarget.directory, prjcfg.location, cfg.location)
elseif (part == "basename") then
Expand Down

0 comments on commit 519e47a

Please sign in to comment.