From 4b45a5ef9adf0b1d8a5bb0241c8a75a46bc4a854 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 14 Mar 2003 15:06:56 -0500 Subject: [PATCH] better error message --- Source/cmGlobalVisualStudio6Generator.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index 8e729433d..0a204cf18 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -80,7 +80,7 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *, makeCommand = cmSystemTools::FindProgram(makeCommand.c_str(), mp); if(makeCommand.size() == 0) { - std::string e = "Generator cannot find make program \""; + std::string e = "Generator cannot find Visual Studio 6 msdev program \""; e += originalCommand; e += "\" specified by CMAKE_MAKE_PROGRAM cache entry. "; e += "Please fix the setting."; @@ -88,8 +88,6 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *, return 1; } makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str()); - std::string lowerCaseCommand = makeCommand; - cmSystemTools::LowerCase(lowerCaseCommand); /** * Run an executable command and put the stdout in output.