message(FATAL_ERROR"macOS packaging is broken in early CMake 3.13 releases, see https://gitlab.com/OpenMW/openmw/issues/4767. Please use at least 3.13.4 or an older version like 3.12.4")
message(FATAL_ERROR"macOS packaging requires CMake 3.19 or higher to sign macOS app bundles.")