Skip to content

Commit

Permalink
Added linux/clang Skia build
Browse files Browse the repository at this point in the history
  • Loading branch information
djowel committed Jan 24, 2024
1 parent 0485d66 commit a810dfe
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,17 @@ if (ARTIST_SKIA)

elseif (UNIX)

set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/linux/x86_64/src/prebuilt_binaries)
set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/linux/skia/x86_64/libskia.a.zip)
set(ARTIST_BINARIES_MD5 18def70ddce24ea79a7a308163dfbda3)
set(ARTIST_BINARIES_PREFIX linux/x86_64)
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/linux/gcc/x86_64/src/prebuilt_binaries)
set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/linux/skia/gcc/x86_64/libskia.a.zip)
set(ARTIST_BINARIES_MD5 18def70ddce24ea79a7a308163dfbda3)
set(ARTIST_BINARIES_PREFIX linux/gcc/x86_64)
elseif (CMAKE_C_COMPILER_ID STREQUAL "Clang")
set(ARTIST_BINARIES ${CMAKE_CURRENT_BINARY_DIR}/linux/clang/x86_64/src/prebuilt_binaries)
set(ARTIST_BINARIES_URL https://github.com/cycfi/artist/raw/prebuilt_binaries_0.90/linux/skia/clang/x86_64/libskia.a.zip)
set(ARTIST_BINARIES_MD5 db92deccb22589f2551955003ef37ce6)
set(ARTIST_BINARIES_PREFIX linux/clang/x86_64)
endif()

find_package(Threads)
find_package(PkgConfig REQUIRED)
Expand Down

0 comments on commit a810dfe

Please sign in to comment.