macOS: compiler option '-macosx-version-min' has been renamed to '-macos-version-min'
After update to macOS 14.2.1 and "Xcode 15.1 (15C65)", I now get the following warning when linking:
compiler option '-macosx_version_min' has been renamed to '-macos_version_min'
My current cmake version is 3.23.5, but the documentation of CMAKE_OSX_DEPLOYMENT_TARGET did not change between 3.23 and 3.28.1 (it still mentions "macosx-version-min"), hence I believe that the problem should still exist with the latest version.