CMP0022 should not be set to OLD
cmake/policies.cmake
sets CMP0022
to OLD
. In VTK we now see:
CMake Deprecation Warning at ThirdParty/libproj4/vtklibproj4/cmake/policies.cmake:2 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
ThirdParty/libproj4/vtklibproj4/CMakeLists.txt:43 (include)