summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableTestingCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEnableTestingCommand.cxx')
-rw-r--r--Source/cmEnableTestingCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmEnableTestingCommand.cxx b/Source/cmEnableTestingCommand.cxx
index 9a97083..fe113c6 100644
--- a/Source/cmEnableTestingCommand.cxx
+++ b/Source/cmEnableTestingCommand.cxx
@@ -37,7 +37,7 @@ void cmEnableTestingCommand::CreateDartTestfileForMakefile(cmMakefile *mf)
std::string fname;
fname = mf->GetStartOutputDirectory();
fname += "/";
- if ( m_Makefile->IsOn("DART_ROOT") )
+ if ( m_Makefile->IsSet("DART_ROOT") )
{
fname += "DartTestfile.txt";
}