build: Prevent python bindings from being enabled on ARM Macs

This commit is contained in:
Gabriel Ferreira
2023-07-15 01:45:25 -03:00
parent a51637b644
commit 5686c9279a

View File

@@ -952,6 +952,11 @@ macro(process_options)
${HIGHLIGHTED_STATUS}
"Bindings: python bindings require Python, but it could not be found"
)
elseif(APPLE AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
# Warn users that Cppyy on ARM Macs isn't supported yet
message(${HIGHLIGHTED_STATUS}
"Bindings: macOS silicon detected -- see issue 930"
)
else()
check_python_packages("cppyy" missing_packages)
if(missing_packages)