summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-10-25 19:33:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-10-25 19:33:48 (GMT)
commit039d1b1fd9edad20f139aad8df7ebe0f612ef65f (patch)
tree5412bdf6f2ec259e3655a0ced98813233345a588 /Source/cmTarget.cxx
parent676fb3b2acea40f5eae7d4badc9dbea2366ce2da (diff)
parentd9cbba7c2cd364a19b42cd856f5d048deb92b415 (diff)
downloadCMake-039d1b1fd9edad20f139aad8df7ebe0f612ef65f.zip
CMake-039d1b1fd9edad20f139aad8df7ebe0f612ef65f.tar.gz
CMake-039d1b1fd9edad20f139aad8df7ebe0f612ef65f.tar.bz2
Merge topic 'cmake-link-interface-libraries'
d9cbba7 Initialize LINK_INTERFACE_LIBRARIES target property with a variable
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e74e70c..f7d3ba9 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -642,6 +642,9 @@ void cmTarget::DefineProperties(cmake *cm)
"If the list is empty then no transitive link dependencies will be "
"incorporated when this target is linked into another target even if "
"the default set is non-empty. "
+ "This property is initialized by the value of the variable "
+ "CMAKE_LINK_INTERFACE_LIBRARIES if it is set when a target is "
+ "created. "
"This property is ignored for STATIC libraries.");
cm->DefineProperty
@@ -1176,6 +1179,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->SetPropertyDefault("Fortran_MODULE_DIRECTORY", 0);
this->SetPropertyDefault("OSX_ARCHITECTURES", 0);
this->SetPropertyDefault("AUTOMOC", 0);
+ this->SetPropertyDefault("LINK_INTERFACE_LIBRARIES", 0);
// Collect the set of configuration types.
std::vector<std::string> configNames;