mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Fix up setting of 'parent' attribute on project.
[SVN r19807]
This commit is contained in:
@@ -344,7 +344,8 @@ rule inherit-attributes ( project-module : project-root-module : parent-module ?
|
||||
{
|
||||
local attributes = $($(project-module).attributes) ;
|
||||
local pattributes = [ attributes $(parent-module) ] ;
|
||||
$(attributes).set parent : [ path.parent $(parent-module) ] ;
|
||||
$(attributes).set parent : [ path.parent
|
||||
[ modules.binding $(parent-module) ] ] ;
|
||||
$(attributes).set default-build
|
||||
: [ $(pattributes).get default-build ] ;
|
||||
$(attributes).set requirements
|
||||
|
||||
@@ -344,7 +344,8 @@ rule inherit-attributes ( project-module : project-root-module : parent-module ?
|
||||
{
|
||||
local attributes = $($(project-module).attributes) ;
|
||||
local pattributes = [ attributes $(parent-module) ] ;
|
||||
$(attributes).set parent : [ path.parent $(parent-module) ] ;
|
||||
$(attributes).set parent : [ path.parent
|
||||
[ modules.binding $(parent-module) ] ] ;
|
||||
$(attributes).set default-build
|
||||
: [ $(pattributes).get default-build ] ;
|
||||
$(attributes).set requirements
|
||||
|
||||
Reference in New Issue
Block a user