Merge topic 'policy-summary-periods'
49cbca6
CMP0038: Add missing '.' to policy summary line7390002
CMP0039: Add missing '.' to policy summary line
This commit is contained in:
commit
978d796e8d
|
@ -1,7 +1,7 @@
|
||||||
CMP0038
|
CMP0038
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Targets may not link directly to themselves
|
Targets may not link directly to themselves.
|
||||||
|
|
||||||
CMake 2.8.12 and lower allowed a build target to link to itself directly with
|
CMake 2.8.12 and lower allowed a build target to link to itself directly with
|
||||||
a :command:`target_link_libraries` call. This is an indicator of a bug in
|
a :command:`target_link_libraries` call. This is an indicator of a bug in
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
CMP0039
|
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
|
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
|
position of the :command:`target_link_libraries` command. This is an indicator
|
||||||
|
|
|
@ -299,7 +299,7 @@ cmPolicies::cmPolicies()
|
||||||
|
|
||||||
this->DefinePolicy(
|
this->DefinePolicy(
|
||||||
CMP0039, "CMP0039",
|
CMP0039, "CMP0039",
|
||||||
"Utility targets may not have link dependencies",
|
"Utility targets may not have link dependencies.",
|
||||||
3,0,0,0, cmPolicies::WARN);
|
3,0,0,0, cmPolicies::WARN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
CMake Error at CMP0039-NEW.cmake:7 \(target_link_libraries\):
|
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
|
Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy
|
||||||
command to set the policy and suppress this warning.
|
command to set the policy and suppress this warning.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
CMake Warning \(dev\) at CMP0039-WARN.cmake:5 \(target_link_libraries\):
|
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
|
Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy
|
||||||
command to set the policy and suppress this warning.
|
command to set the policy and suppress this warning.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue