summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-02 19:51:58 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-02 19:51:58 (GMT)
commiteb3857ce8381957aeb4d9f8dbee9ba0eb1f6549e (patch)
tree5998adb40a5d03b15d14c6a3e04899a30bad0dcc /Source/CTest/cmCTestScriptHandler.cxx
parente4af567bd224ffcac53d81e6d8492ca415f30ea4 (diff)
downloadCMake-eb3857ce8381957aeb4d9f8dbee9ba0eb1f6549e.zip
CMake-eb3857ce8381957aeb4d9f8dbee9ba0eb1f6549e.tar.gz
CMake-eb3857ce8381957aeb4d9f8dbee9ba0eb1f6549e.tar.bz2
ENH: Make ctest build command work
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 22e1146..3703418 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -202,6 +202,7 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
delete m_LocalGenerator;
}
m_CMake = new cmake;
+ m_CMake->AddCMakePaths(m_CTest->GetCTestExecutable());
m_GlobalGenerator = new cmGlobalGenerator;
m_GlobalGenerator->SetCMakeInstance(m_CMake);