summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-31 11:32:01 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-31 11:36:05 (GMT)
commit4eaea3c358eba2550223d884d7b0523a91624237 (patch)
tree3e7794435030dffa8af9c2860ff12e3aae7144f5 /Source/cmTarget.cxx
parent25b0d94678a99616d108ad9e93574b55f1d14e28 (diff)
downloadCMake-4eaea3c358eba2550223d884d7b0523a91624237.zip
CMake-4eaea3c358eba2550223d884d7b0523a91624237.tar.gz
CMake-4eaea3c358eba2550223d884d7b0523a91624237.tar.bz2
add_library: Document POSITION_INDEPENDENT_CODE default (#13479)
The POSITION_INDEPENDENT_CODE property documentation states that its default value depends on whether SHARED or MODULE is given to the add_library call. Since these are options to the add_library command we should document on the command how they affect the property. While at it, add a missing space to the POSITION_INDEPENDENT_CODE property documentation.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index b0d4834..789713f 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -763,7 +763,7 @@ void cmTarget::DefineProperties(cmake *cm)
"This property is true by default for SHARED and MODULE library "
"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"
+ "CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is "
"created.");
cm->DefineProperty