summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-03-31 15:01:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-03-31 15:01:52 (GMT)
commitd0cea4c7bb19fecd5b0f7c7636d089a8ef28825b (patch)
treed770b39b441c777d12a6c8127966549cd9bf8860 /Source/cmLocalGenerator.cxx
parentd1185c59104565a96026ee78498f8739b77b2b3c (diff)
downloadCMake-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.cxx2
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);
}