CMake Deprecation Warning at build/_deps/libcheck-src/CMakeLists.txt:42 (cmake_policy):
The OLD behavior for policy CMP0076 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.
on line 42 of CMakeLists.txt, CMP0076 is set to OLD:
Because of this, I get this warning from cmake:
according to cmake docs on CMP0076 (link):