summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-07 18:31:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-07 20:57:35 (GMT)
commitdf74bc34d4219a8d6e63ec7e41a9ca4fbe355581 (patch)
tree8227bff697c5f41beadb02c0df34788b869b52aa /Source/cmDocumentVariables.cxx
parentd4e5c6787c40e27394c336730f59d878a81d1991 (diff)
downloadCMake-df74bc34d4219a8d6e63ec7e41a9ca4fbe355581.zip
CMake-df74bc34d4219a8d6e63ec7e41a9ca4fbe355581.tar.gz
CMake-df74bc34d4219a8d6e63ec7e41a9ca4fbe355581.tar.bz2
Only append build interface include dirs to particular targets.
We shouldn't set the property on all custom targets.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 08b3ef1..dd138a3 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1150,9 +1150,10 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
("CMAKE_BUILD_INTERFACE_INCLUDES", cmProperty::VARIABLE,
"Automatically add the current source- and build directories "
"to the INTERFACE_INCLUDE_DIRECTORIES.",
- "If this variable is enabled, CMake automatically adds for each "
- "target ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
- "to the INTERFACE_INCLUDE_DIRECTORIES."
+ "If this variable is enabled, CMake automatically adds for each shared "
+ "library target, static library target, module target and executable "
+ "target, ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to "
+ "the INTERFACE_INCLUDE_DIRECTORIES."
"By default CMAKE_BUILD_INTERFACE_INCLUDES is OFF.",
false,
"Variables that Control the Build");