diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-11-11 09:03:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-12 16:54:14 (GMT) |
commit | 7390002964fabc9acabc014b9e9ed9f0def35b17 (patch) | |
tree | de8dcda342d8bcb72dc10d7fcef6bc29ef1bf552 | |
parent | 13da9f00245694d3dee9f4c9b245f0e3941284c5 (diff) | |
download | CMake-7390002964fabc9acabc014b9e9ed9f0def35b17.zip CMake-7390002964fabc9acabc014b9e9ed9f0def35b17.tar.gz CMake-7390002964fabc9acabc014b9e9ed9f0def35b17.tar.bz2 |
CMP0039: Add missing '.' to policy summary line
-rw-r--r-- | Help/policy/CMP0039.rst | 2 | ||||
-rw-r--r-- | Source/cmPolicies.cxx | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Help/policy/CMP0039.rst b/Help/policy/CMP0039.rst index 1d20f0c..fb62eea 100644 --- a/Help/policy/CMP0039.rst +++ b/Help/policy/CMP0039.rst @@ -1,7 +1,7 @@ CMP0039 ------- -Utility targets may not have link dependencies +Utility targets may not have link dependencies. CMake 2.8.12 and lower allowed using utility targets in the left hand side position of the :command:`target_link_libraries` command. This is an indicator diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 3881c54..7b80d14 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -299,7 +299,7 @@ cmPolicies::cmPolicies() this->DefinePolicy( CMP0039, "CMP0039", - "Utility targets may not have link dependencies", + "Utility targets may not have link dependencies.", 3,0,0,0, cmPolicies::WARN); } diff --git a/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt index 1496c05..821c4f8 100644 --- a/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt +++ b/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt @@ -1,5 +1,5 @@ CMake Error at CMP0039-NEW.cmake:7 \(target_link_libraries\): - Policy CMP0039 is not set: Utility targets may not have link dependencies + Policy CMP0039 is not set: Utility targets may not have link dependencies. Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy command to set the policy and suppress this warning. diff --git a/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt index 9387f8c..a8e6c70 100644 --- a/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt +++ b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt @@ -1,5 +1,5 @@ CMake Warning \(dev\) at CMP0039-WARN.cmake:5 \(target_link_libraries\): - Policy CMP0039 is not set: Utility targets may not have link dependencies + Policy CMP0039 is not set: Utility targets may not have link dependencies. Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy command to set the policy and suppress this warning. |