Skip to content

Commit

Permalink
Add non-Boost dependencies to INTERFACE_LINK_LIBRARIES
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Sep 28, 2020
1 parent 49c63cd commit 0e39586
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions boost-install.jam
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,22 @@ rule generate-cmake-variant- ( target : sources * : properties * )
""
: true ;
}

local deps2 = [ set.difference [ $(ps).get <boost-install.dependency> ] : boost_$(deps) ] ;
.info " deps2=" $(deps2) ;

if $(deps2)
{
deps2 = "\"$<$<CONFIG:$(variant)>:$(deps2)>\"" ;

print.text

"set_property(TARGET $(target) APPEND PROPERTY INTERFACE_LINK_LIBRARIES"
" $(deps2:J= )"
" )"
""
: true ;
}
}

actions generate-cmake-variant-
Expand Down

0 comments on commit 0e39586

Please sign in to comment.