vcpkg/ports/skia/skiaConfig.cmake
Kai Pastor e07c62d059
[skia] Turn into usable and maintainable port (#28007)
* Remove unused SKIA_PUBLIC_DEFINITIONS

* Revise python3 injection

* Major overhaul

* Revise third-party downloads

Declare them early in a single location, but use as needed.
Validate agains skia's DEPS.

* Integrate download & pkgconfig externals handling

Ensure that downloads are complete with --only-downloads mode.

* Move cmake functions to separate file

* Turn source fixups into proper patches

* Update versions

* Generally disable msvc env setup

* Update python patch

* Remove unused patch

* Rename function

* Update versions

* Handle third-party licenses

* Move block

* Rename and unset skia root variable

* Fix usage with alternative build types

* Update versions
2022-12-20 19:29:21 -08:00

7 lines
288 B
CMake

file(READ "${CMAKE_CURRENT_LIST_DIR}/usage" usage)
message(AUTHOR_WARNING "find_package(skia) is deprecated.\n${usage}")
include(CMakeFindDependencyMacro)
find_dependency(unofficial-skia)
add_library(skia ALIAS unofficial::skia::skia)
add_library(skia::skia ALIAS unofficial::skia::skia)