diff options
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 1e23d31..1f95d70 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -328,6 +328,10 @@ std::string cmLocalGenerator::GetFullTargetName(const char* n, std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p) { + if ( m_Makefile->GetDefinition("CMAKE_NO_RELATIVE_PATHS") ) + { + return cmSystemTools::ConvertToOutputPath(p); + } // do not use relative paths for network build trees // the network paths do not work const char* outputDirectory = m_Makefile->GetHomeOutputDirectory(); |