Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions buildscripts/skia/FindSkiaSystem.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

if(WIN32)
set(SKIA_LIBRARIES
skia
skialib
user32
opengl32)
add_definitions(-DSKIA_DLL)
else()
if(APPLE)
set(SKIA_LIBRARIES skia)
set(SKIA_LIBRARIES skialib)
else()
set(SKIA_LIBRARIES skia.friction)
set(SKIA_LIBRARIES skialib)
endif()
endif()
3 changes: 2 additions & 1 deletion thirdparty/skia/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ message(" skia argumentss: ${SKIA_ARGS}")

message("-- Building skia as ExternalProject Engine")
ExternalProject_Add(
Engine
skialib
SOURCE_DIR ${SKIA_SRC}
BINARY_DIR ${SKIA_BUILD_DIR}
DOWNLOAD_COMMAND :
Expand All @@ -68,6 +68,7 @@ ExternalProject_Add(
USES_TERMINAL_BUILD true
)

add_dependencies(skialib)

if(UNIX AND NOT APPLE)
include(CopySkiaLibraryToInstallDir)
Expand Down
Loading