summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-10 15:15:31 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-14 17:06:39 (GMT)
commitc592df8377446224f0aa24568ada2aec058dd033 (patch)
treeda5ca8f881d5d37e677da8f741502eea04dcaa7f /Source/cmDocumentVariables.cxx
parent3f929475246a3d89ca5d4c5db301d1c4705d0d69 (diff)
downloadCMake-c592df8377446224f0aa24568ada2aec058dd033.zip
CMake-c592df8377446224f0aa24568ada2aec058dd033.tar.gz
CMake-c592df8377446224f0aa24568ada2aec058dd033.tar.bz2
Tru64: Use full-path include directives in Makefiles (#10569)
Tru64's make(1) resolves relative paths in "include" directives with respect to the includer. This is inconsistent with all other known make tools. Note that this make tool treats the path literally so we cannot use our standard FULL path code which escapes spaces. Instead qualify the paths with $(CMAKE_BINARY_DIR) to avoid the problem.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index e77119f..2eab50c 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1398,4 +1398,6 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
cmProperty::VARIABLE,0,0);
cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_DIRS",
cmProperty::VARIABLE,0,0);
+ cm->DefineProperty("CMAKE_MAKE_INCLUDE_FROM_ROOT",
+ cmProperty::VARIABLE,0,0);
}