diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-12-04 15:40:39 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-02-22 11:31:50 (GMT) |
commit | 840509babb2d1c8fc5167c4580fef58546c06700 (patch) | |
tree | 0735d96313a32b0572048d4cfb59005766d7799c /Source/cmTarget.cxx | |
parent | a4d5f7b9b270d3fa85e8a0a1608c4205dff744d9 (diff) | |
download | CMake-840509babb2d1c8fc5167c4580fef58546c06700.zip CMake-840509babb2d1c8fc5167c4580fef58546c06700.tar.gz CMake-840509babb2d1c8fc5167c4580fef58546c06700.tar.bz2 |
Keep the INCLUDE_DIRECTORIES target property up to date.
The directory level property changes need to be added to it.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5c902e1..cd816a6 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1279,6 +1279,11 @@ void cmTarget::SetMakefile(cmMakefile* mf) // Save the backtrace of target construction. this->Makefile->GetBacktrace(this->Internal->Backtrace); + // Initialize the INCLUDE_DIRECTORIES property based on the current value + // of the same directory property: + this->SetProperty("INCLUDE_DIRECTORIES", + this->Makefile->GetProperty("INCLUDE_DIRECTORIES")); + // Record current policies for later use. this->PolicyStatusCMP0003 = this->Makefile->GetPolicyStatus(cmPolicies::CMP0003); |