From d81ad6a0b20613ac77e115ca273cd48eaeeae1c8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 16 Oct 2016 13:21:35 +0200 Subject: Add target::out_dir() accessor --- build2/target.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/target.cxx') diff --git a/build2/target.cxx b/build2/target.cxx index 540f4b4..3b6e06f 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -110,7 +110,7 @@ namespace build2 // If this target is from the src tree, use its out directory to find // the scope. // - return scopes.find (out.empty () ? dir : out); + return scopes.find (out_dir ()); } scope& target:: -- cgit v1.1