summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-08-13 06:58:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-08-20 20:33:27 (GMT)
commitc82fbe0c1f9c39db2421afc1079e2aa071f50a37 (patch)
treee125c93c863565917f72e2957bb450efc5a449bd /Source/cmDocumentVariables.cxx
parentd46f8afae98cd8f50cff9915a5a9dc680b9e0518 (diff)
downloadCMake-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/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 05ef8fc..0fa0b29 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1351,7 +1351,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
false,
"Variables that Control the Build");
cm->DefineProperty
- ("CMAKE_POSITION_INDEPENDENT_FLAGS", cmProperty::VARIABLE,
+ ("CMAKE_POSITION_INDEPENDENT_CODE", cmProperty::VARIABLE,
"Default value for POSITION_INDEPENDENT_CODE of targets.",
"This variable is used to initialize the "
"POSITION_INDEPENDENT_CODE property on all the targets. "