Fix typo in error message, and remove redundent test.

This commit is contained in:
Bill Hoffman 2012-02-29 22:28:06 -05:00
parent 9090572f5c
commit 2557a08054
2 changed files with 1 additions and 3 deletions

View File

@ -88,7 +88,7 @@ bool cmProjectCommand
if(!readit && !cmSystemTools::GetFatalErrorOccured()) if(!readit && !cmSystemTools::GetFatalErrorOccured())
{ {
std::string m = std::string m =
"could not find load file:\n" "could not find file:\n"
" "; " ";
m += include; m += include;
this->SetError(m.c_str()); this->SetError(m.c_str());

View File

@ -23,8 +23,6 @@ add_CMakeOnly_test(AllFindModules)
add_CMakeOnly_test(TargetScope) add_CMakeOnly_test(TargetScope)
add_CMakeOnly_test(ProjectInclude)
add_test(CMakeOnly.ProjectInclude ${CMAKE_CMAKE_COMMAND} add_test(CMakeOnly.ProjectInclude ${CMAKE_CMAKE_COMMAND}
-DTEST=ProjectInclude -DTEST=ProjectInclude
-DCMAKE_ARGS=-DCMAKE_PROJECT_ProjectInclude_INCLUDE=${CMAKE_CURRENT_SOURCE_DIR}/ProjectInclude/include.cmake -DCMAKE_ARGS=-DCMAKE_PROJECT_ProjectInclude_INCLUDE=${CMAKE_CURRENT_SOURCE_DIR}/ProjectInclude/include.cmake