diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-15 08:49:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-15 08:53:30 +0200 |
commit | 8a0ebb2b607c92b8c1bdab7e525da2b711b31565 (patch) | |
tree | 4556f7d33dd9fe22fe299b5466b3cb6a930ddfe1 /libbuild2/scope.ixx | |
parent | 05ee8c20d83c2f108aa71a65e19b7adff8ff9aa0 (diff) |
Automatically alias unknown target types of imported targets
Diffstat (limited to 'libbuild2/scope.ixx')
-rw-r--r-- | libbuild2/scope.ixx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/scope.ixx b/libbuild2/scope.ixx index 4543f2c..5975c76 100644 --- a/libbuild2/scope.ixx +++ b/libbuild2/scope.ixx @@ -146,9 +146,11 @@ namespace build2 } inline target_key scope:: - find_target_key (name& n, name& o, const location& loc) const + find_target_key (name& n, name& o, + const location& loc, + const target_type* tt) const { - auto p (find_target_type (n, o, loc)); + auto p (find_target_type (n, o, loc, tt)); return target_key { &p.first, &n.dir, |