summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/OSF1.cmake
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 /Modules/Platform/OSF1.cmake
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 'Modules/Platform/OSF1.cmake')
-rw-r--r--Modules/Platform/OSF1.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/OSF1.cmake b/Modules/Platform/OSF1.cmake
index 652bed4..076410a 100644
--- a/Modules/Platform/OSF1.cmake
+++ b/Modules/Platform/OSF1.cmake
@@ -25,6 +25,7 @@ IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
+SET(CMAKE_MAKE_INCLUDE_FROM_ROOT 1) # include $(CMAKE_BINARY_DIR)/...
IF(CMAKE_COMPILER_IS_GNUCXX)
# include the gcc flags