| Index: cmake/CMakeLists.txt
|
| diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
| index df88487730a060fbe8acd84de2305d8ecff54d4a..ea02ddda4d9ddb7bb4ff8e9d5074d1ba4874aabb 100644
|
| --- a/cmake/CMakeLists.txt
|
| +++ b/cmake/CMakeLists.txt
|
| @@ -222,6 +222,11 @@ set_target_properties(skia PROPERTIES
|
| CXX_VISIBILITY_PRESET hidden
|
| VISIBILITY_INLINES_HIDDEN true)
|
|
|
| +# Experimental C API install:
|
| +file(GLOB cheaders "../include/c/*.h")
|
| +install(FILES ${cheaders} DESTINATION include)
|
| +install(TARGETS skia DESTINATION lib)
|
| +
|
| # Now build a simple example app that uses Skia via libskia.so.
|
| add_executable(example example.cpp)
|
| target_link_libraries(example skia ${OPENGL_LIBRARIES})
|
|
|