shinchiro/mpv-winbuild-cmake

CMake Error on Cygwin (3.3.6, current version): Policy "CMP0135" is not known

Closed this issue · 0 comments

The newest version of cmake in Cygwin is 3.23.2-1, but CMP0135 was not added until 3.24.

$ cmake -DTARGET_ARCH=x86_64-w64-mingw32 -G Ninja ..
CMake Error at CMakeLists.txt:9 (cmake_policy):
  Policy "CMP0135" is not known to this version of CMake.

In #243 the new policy was added. Can you maybe add a condition, so that it is possible to build in Cygwin?