Fix typo in error message, and remove redundent test.
This commit is contained in:
parent
9090572f5c
commit
2557a08054
|
@ -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());
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue