Commit 9d6ea59a authored by Ken Martin's avatar Ken Martin
Browse files

another platform fix

parent 21b91da5
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment