From 9d6ea59a69542b008d296bc4ce42d975f4020d53 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 6 Sep 2004 14:43:06 -0400 Subject: another platform fix --- Source/CTest/cmCTestScriptHandler.cxx | 6 +++--- 1 file 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()); -- cgit v0.12