From 4dd860773b1f26c77a87f60ca0f1988f66293e71 Mon Sep 17 00:00:00 2001 From: kaixoo12 <208606493+kaixoo12@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:17:47 +0200 Subject: [PATCH 1/2] feat: add skialib as a gettable dependency --- thirdparty/skia/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdparty/skia/CMakeLists.txt b/thirdparty/skia/CMakeLists.txt index 2449629..8e6d732 100644 --- a/thirdparty/skia/CMakeLists.txt +++ b/thirdparty/skia/CMakeLists.txt @@ -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 : @@ -68,6 +68,7 @@ ExternalProject_Add( USES_TERMINAL_BUILD true ) +add_dependencies(skialib) if(UNIX AND NOT APPLE) include(CopySkiaLibraryToInstallDir) From 6ce75351d40969830609d5cf29f679e55159f118 Mon Sep 17 00:00:00 2001 From: kaixoo12 <208606493+kaixoo12@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:19:23 +0200 Subject: [PATCH 2/2] build: update SKIA_LIBRARIES --- buildscripts/skia/FindSkiaSystem.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildscripts/skia/FindSkiaSystem.cmake b/buildscripts/skia/FindSkiaSystem.cmake index 3e4ce9c..f37babb 100644 --- a/buildscripts/skia/FindSkiaSystem.cmake +++ b/buildscripts/skia/FindSkiaSystem.cmake @@ -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()