summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-09-06 18:43:06 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-09-06 18:43:06 (GMT)
commit9d6ea59a69542b008d296bc4ce42d975f4020d53 (patch)
treee699ea47acb0a14084dece7d7fe800415bc9b22f /Source
parent21b91da5467fa86f7b5ace5c61662e4907f3b67e (diff)
downloadCMake-9d6ea59a69542b008d296bc4ce42d975f4020d53.zip
CMake-9d6ea59a69542b008d296bc4ce42d975f4020d53.tar.gz
CMake-9d6ea59a69542b008d296bc4ce42d975f4020d53.tar.bz2
another platform fix
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 9985629..04c414a 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -184,11 +184,11 @@ int cmCTestScriptHandler::ExtractVariables()
this->m_CTestCmd.empty())
{
std::string message = "CTEST_SOURCE_DIRECTORY = ";
- message += (!m_SourceDir.empty()) ? m_SourceDir : "(Null)";
+ message += (!m_SourceDir.empty()) ? m_SourceDir.c_str() : "(Null)";
message += "\nCTEST_BINARY_DIRECTORY = ";
- message += (!m_BinaryDir.empty()) ? m_BinaryDir : "(Null)";
+ message += (!m_BinaryDir.empty()) ? m_BinaryDir.c_str() : "(Null)";
message += "\nCTEST_CMAKE_COMMAND = ";
- message += (!m_CTestCmd.empty()) ? m_CTestCmd : "(Null)";
+ message += (!m_CTestCmd.empty()) ? m_CTestCmd.c_str() : "(Null)";
cmSystemTools::Error(
"Some required settings in the configuration file were missing:\n",
message.c_str());