Make deps: Disabled assembly for GMP on Apple/arm64.

This appears to be a configuration for which GMP has no assembly,
yet the default configure script tries to build it.
This commit is contained in:
Stefan Werner 2020-09-03 10:11:59 +02:00
parent 3cbfe96681
commit c8b84a13a5

@ -25,6 +25,13 @@ else()
set(GMP_OPTIONS --enable-static --disable-shared )
endif()
if(APPLE AND ("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64"))
set(GMP_OPTIONS
${GMP_OPTIONS}
--disable-assembly
)
endif()
ExternalProject_Add(external_gmp
URL ${GMP_URI}
DOWNLOAD_DIR ${DOWNLOAD_DIR}