Skip to content

Commit

Permalink
MacOS Skia works now on both x86_64 and arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
djowel committed Nov 26, 2023
1 parent bbeba28 commit fcdcd6b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ""
Expand Down

0 comments on commit fcdcd6b

Please sign in to comment.