diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1f1cadee..154d3a56 100755 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -49,9 +49,11 @@ if (ARTIST_SKIA) if (${CMAKE_OSX_ARCHITECTURES} STREQUAL "arm64") set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/macos/arm64/src/prebuilt_binaries) set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/macos/skia/arm64/arm64.zip) + set(ARTIST_BINARIES_MD5 5a8b2ef69844bdfff8f384538b63a962) elseif (${CMAKE_OSX_ARCHITECTURES} STREQUAL "x86_64") - set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/macos/x86-64/src/prebuilt_binaries) - set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/macos/skia/x86-64/x86-64.zip) + set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/macos/x86_64/src/prebuilt_binaries) + set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/macos/skia/x86_64/x86_64.zip) + set(ARTIST_BINARIES_MD5 553b7073295cf9650c54a79478658761) endif() set(SKIA_LIBRARIES @@ -68,7 +70,7 @@ if (ARTIST_SKIA) ExternalProject_Add(prebuilt_binaries PREFIX "macos/${CMAKE_OSX_ARCHITECTURES}" URL ${ARTIST_BINARIES_URL} - URL_MD5 5a8b2ef69844bdfff8f384538b63a962 + URL_MD5 ${ARTIST_BINARIES_MD5} CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ""