Skip to content

Commit

Permalink
[integration][cmake] Fix static libs propagation.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Apr 18, 2023
1 parent 5333191 commit 12f6a2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sw/client/common/command/integrate.cpp
Expand Up @@ -339,7 +339,11 @@ SUBCOMMAND_DECL(integrate)
{
auto inh = std::stoi(k);
if ((inh & 4) == 0)
{
for (auto &d : p["system_link_libraries"].getArray())
if_ctx.addLine(cmake_cfg + fix_path(d.getValue()) + cmake_cfg_end);
continue;
}
for (auto &d : p["link_libraries"].getArray())
if_ctx.addLine(cmake_cfg + fix_path(to_string(normalize_path(d.getPathValue(getContext().getLocalStorage())))) + cmake_cfg_end);
for (auto &d : p["system_link_libraries"].getArray())
Expand Down

0 comments on commit 12f6a2a

Please sign in to comment.