summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-03-01 03:28:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-03-01 03:28:06 (GMT)
commit2557a080543a37f92e1908420842db8c90685304 (patch)
tree8aba21c9259c3b4a589697626e4290446211a03b
parent9090572f5cdde7b30d2c1ad1c0bbf4ab86ddb969 (diff)
downloadCMake-2557a080543a37f92e1908420842db8c90685304.zip
CMake-2557a080543a37f92e1908420842db8c90685304.tar.gz
CMake-2557a080543a37f92e1908420842db8c90685304.tar.bz2
Fix typo in error message, and remove redundent test.
-rw-r--r--Source/cmProjectCommand.cxx2
-rw-r--r--Tests/CMakeOnly/CMakeLists.txt2
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx
index 4c1abcf..fcf0a49 100644
--- a/Source/cmProjectCommand.cxx
+++ b/Source/cmProjectCommand.cxx
@@ -88,7 +88,7 @@ bool cmProjectCommand
if(!readit && !cmSystemTools::GetFatalErrorOccured())
{
std::string m =
- "could not find load file:\n"
+ "could not find file:\n"
" ";
m += include;
this->SetError(m.c_str());
diff --git a/Tests/CMakeOnly/CMakeLists.txt b/Tests/CMakeOnly/CMakeLists.txt
index 629f578..a1551ca 100644
--- a/Tests/CMakeOnly/CMakeLists.txt
+++ b/Tests/CMakeOnly/CMakeLists.txt
@@ -23,8 +23,6 @@ add_CMakeOnly_test(AllFindModules)
add_CMakeOnly_test(TargetScope)
-add_CMakeOnly_test(ProjectInclude)
-
add_test(CMakeOnly.ProjectInclude ${CMAKE_CMAKE_COMMAND}
-DTEST=ProjectInclude
-DCMAKE_ARGS=-DCMAKE_PROJECT_ProjectInclude_INCLUDE=${CMAKE_CURRENT_SOURCE_DIR}/ProjectInclude/include.cmake