Skip to content

FetchContent: Enable IN_LIST support explicitly

In newer versions of CMake, CMP0057 policy should be in NEW state to if(... IN_LIST ...) to work. This was true for most of the modules, but not FetchContent. This has lead some projects to fail configuration, one of the examples is OpenMW. This commit fixes this by setting this policy to NEW for this module.

Merge request reports