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 Dec 10, 2019
1 parent ac5470e commit ce8f9c9
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 ce8f9c9

Please sign in to comment.