diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-31 15:01:52 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-31 15:01:52 (GMT) |
commit | d0cea4c7bb19fecd5b0f7c7636d089a8ef28825b (patch) | |
tree | d770b39b441c777d12a6c8127966549cd9bf8860 /Source/cmLocalGenerator.cxx | |
parent | d1185c59104565a96026ee78498f8739b77b2b3c (diff) | |
download | CMake-d0cea4c7bb19fecd5b0f7c7636d089a8ef28825b.zip CMake-d0cea4c7bb19fecd5b0f7c7636d089a8ef28825b.tar.gz CMake-d0cea4c7bb19fecd5b0f7c7636d089a8ef28825b.tar.bz2 |
ENH: make relative paths optional and default off, and add a test for them
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 27f240d..c27e6af 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -354,7 +354,7 @@ std::string cmLocalGenerator::GetFullTargetName(const char* n, std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p) { - if ( m_Makefile->GetDefinition("CMAKE_NO_RELATIVE_PATHS") ) + if ( !m_Makefile->IsOn("CMAKE_USE_RELATIVE_PATHS") ) { return cmSystemTools::ConvertToOutputPath(p); } |