Missing "-miphoneos-version-min=" compiler flag for ASM files using Clang on macOS
It appears CMAKE_ASM_OSX_DEPLOYMENT_TARGET_FLAG
is not being set for ASM files when compiling with Clang on macOS, leading to the deployment target compiler flags (-miphoneos-version-min
, etc) not being passed to the compiler. This appears to be due to the absence of a Apple-Clang-ASM.cmake
file to call __apple_compiler_clang(ASM)
in the same vein as Apple-Clang-C.cmake
.