You need to sign in or sign up before continuing.
OLD behaviour of CMake policy "CMP0004" is getting obsoleted, better fix needed
Building on Debian sid with CMake 3.9.1 gives this CMake warning:
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
The OLD behavior for policy CMP0004 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.
That policy was defined by @Conan_Kudo in b461f4a69 to workaround an issue with SDL2's config files. We'll have to find a better fix for this, if the original issue is still reproducible.
Edited by username-removed-546878