summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-08-24 18:24:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-08-24 18:24:01 (GMT)
commit56591cb9b4f1caa62cde98dedf6eb1a0dc7d8d8d (patch)
treee9d94239f2de6d3aacd517e03ce9596beb8999f4 /Source/cmTarget.cxx
parent4f7731d814d4228165c70ec9fd6b580e5541ddc6 (diff)
parentc82fbe0c1f9c39db2421afc1079e2aa071f50a37 (diff)
downloadCMake-56591cb9b4f1caa62cde98dedf6eb1a0dc7d8d8d.zip
CMake-56591cb9b4f1caa62cde98dedf6eb1a0dc7d8d8d.tar.gz
CMake-56591cb9b4f1caa62cde98dedf6eb1a0dc7d8d8d.tar.bz2
Merge topic 'pic-docs'
c82fbe0 Fix unfortunate documentation error for PIC feature.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 48811c8..65b586d 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,