Merge topic 'pic-docs'
c82fbe0
Fix unfortunate documentation error for PIC feature.
This commit is contained in:
commit
56591cb9b4
|
@ -1365,7 +1365,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
|
||||||
false,
|
false,
|
||||||
"Variables that Control the Build");
|
"Variables that Control the Build");
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
("CMAKE_POSITION_INDEPENDENT_FLAGS", cmProperty::VARIABLE,
|
("CMAKE_POSITION_INDEPENDENT_CODE", cmProperty::VARIABLE,
|
||||||
"Default value for POSITION_INDEPENDENT_CODE of targets.",
|
"Default value for POSITION_INDEPENDENT_CODE of targets.",
|
||||||
"This variable is used to initialize the "
|
"This variable is used to initialize the "
|
||||||
"POSITION_INDEPENDENT_CODE property on all the targets. "
|
"POSITION_INDEPENDENT_CODE property on all the targets. "
|
||||||
|
|
|
@ -761,7 +761,10 @@ void cmTarget::DefineProperties(cmake *cm)
|
||||||
"The POSITION_INDEPENDENT_CODE property determines whether position "
|
"The POSITION_INDEPENDENT_CODE property determines whether position "
|
||||||
"independent executables or shared libraries will be created. "
|
"independent executables or shared libraries will be created. "
|
||||||
"This property is true by default for SHARED and MODULE library "
|
"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
|
cm->DefineProperty
|
||||||
("POST_INSTALL_SCRIPT", cmProperty::TARGET,
|
("POST_INSTALL_SCRIPT", cmProperty::TARGET,
|
||||||
|
|
Loading…
Reference in New Issue