diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-16 13:37:45 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-22 14:46:03 (GMT) |
commit | 306a1ba96073175ddc0c4de4d5f17b44d432da33 (patch) | |
tree | e1d867f9aa6cc29ca178fbc8bde13fc92510d991 /Source/cmPolicies.h | |
parent | ad4487a96ae6e7e93e9b14d0fee67da01e27e12a (diff) | |
download | CMake-306a1ba96073175ddc0c4de4d5f17b44d432da33.zip CMake-306a1ba96073175ddc0c4de4d5f17b44d432da33.tar.gz CMake-306a1ba96073175ddc0c4de4d5f17b44d432da33.tar.bz2 |
Modules/Documentation: remove
This is an old module from when VTK and other Kitware projects drove the
addition of commands and modules into CMake itself. Modern VTK doesn't
need this module and it can be ignored.
This module is kept around so that the ancient VTK versions which use it
are not broken by it. VTK itself stopped using the module in 2012 and
the last usage by an example in VTK was removed in 2020.
Fixes: #20591
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index cdf3f71..4abfa1f 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -314,7 +314,9 @@ class cmMakefile; "CUDA_ARCHITECTURES not allowed.", \ 3, 18, 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0105, "Device link step uses the link options.", 3, 18, \ - 0, cmPolicies::WARN) + 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0106, "The Documentation module is removed.", 3, 18, 0, \ + cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |