mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 11:40:08 +00:00
CMAKE_OSX_SYSROOT is empty by default since CMake 4 [1] so make a workaround MSCOS_SDK_VERSION_MAJOR and _MINOR seems to be unused but are derived from MACOS_SDK_VERSION which is conversly derived from MACOS_SDK_NAME, which can be now eg. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk (`xcrun --sdk macosx --show-sdk-path`) - not containing the version string in expected form. [1]: https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_SYSROOT.html