aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/skia/example/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/skia/example/CMakeLists.txt')
-rw-r--r--vcpkg/ports/skia/example/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/skia/example/CMakeLists.txt b/vcpkg/ports/skia/example/CMakeLists.txt
new file mode 100644
index 0000000..109ac5f
--- /dev/null
+++ b/vcpkg/ports/skia/example/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 3.7)
+
+project(skia-example)
+
+set(CMAKE_CXX_STANDARD 17)
+
+add_executable(legacy convert-to-nia.cpp)
+find_package(skia CONFIG REQUIRED)
+target_link_libraries(legacy PRIVATE skia)
+
+add_executable(main convert-to-nia.cpp)
+find_package(unofficial-skia CONFIG REQUIRED)
+target_link_libraries(main PRIVATE unofficial::skia::skia unofficial::skia::modules::skshaper)