diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-08-13 06:58:41 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-08-20 20:33:27 (GMT) |
commit | c82fbe0c1f9c39db2421afc1079e2aa071f50a37 (patch) | |
tree | e125c93c863565917f72e2957bb450efc5a449bd /Source/cmTarget.cxx | |
parent | d46f8afae98cd8f50cff9915a5a9dc680b9e0518 (diff) | |
download | CMake-c82fbe0c1f9c39db2421afc1079e2aa071f50a37.zip CMake-c82fbe0c1f9c39db2421afc1079e2aa071f50a37.tar.gz CMake-c82fbe0c1f9c39db2421afc1079e2aa071f50a37.tar.bz2 |
Fix unfortunate documentation error for PIC feature.
The wrong variable is documented, and it is not referred to in
the target-specific property.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 775662c..b936500 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -761,7 +761,10 @@ void cmTarget::DefineProperties(cmake *cm) "The POSITION_INDEPENDENT_CODE property determines whether position " "independent executables or shared libraries will be created. " "This property is true by default for SHARED and MODULE library " - "targets and false otherwise."); + "targets and false otherwise. " + "This property is initialized by the value of the variable " + "CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is" + "created."); cm->DefineProperty ("POST_INSTALL_SCRIPT", cmProperty::TARGET, |