aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-09-03 14:23:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-03 14:23:18 -0700
commit5a9a5b3e7fc5bd79af55f22cb674e8d2d7021d9d (patch)
tree6b2a7278c51c49e70f533455a67cbc38669982d8 /cmake
parent943a462fef57832e2683894bb9f2f36ac25d98f7 (diff)
CMAKE + install command
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index df88487730..ea02ddda4d 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})