From ddac8d3d2d027dd50d729918078f57628855a568 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Wed, 1 May 2013 11:36:14 +0200 Subject: Fix spelling and typos (affecting binary data / module messages) --- Source/cmPolicies.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/cmPolicies.cxx') diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 831e92e925..d2b8adf65c 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -440,7 +440,8 @@ cmPolicies::cmPolicies() this->DefinePolicy( CMP0016, "CMP0016", - "target_link_libraries() reports error if only argument is not a target.", + "target_link_libraries() reports error if its only argument " + "is not a target.", "In CMake 2.8.2 and lower the target_link_libraries() command silently " "ignored if it was called with only one argument, and this argument " "wasn't a valid target. " @@ -452,7 +453,7 @@ cmPolicies::cmPolicies() "Prefer files from the CMake module directory when including from there.", "Starting with CMake 2.8.4, if a cmake-module shipped with CMake (i.e. " "located in the CMake module directory) calls include() or " - "find_package(), the files located in the the CMake module directory are " + "find_package(), the files located in the CMake module directory are " "preferred over the files in CMAKE_MODULE_PATH. " "This makes sure that the modules belonging to " "CMake always get those files included which they expect, and against " @@ -770,7 +771,7 @@ std::string cmPolicies::GetRequiredPolicyError(cmPolicies::PolicyID id) { cmSystemTools::Error( "Request for error text for undefined policy!"); - return "Request for warning text for undefined policy!"; + return "Request for error text for undefined policy!"; } cmOStringStream error; -- cgit v1.2.1