mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 06:29:05 +08:00
22 lines
647 B
Diff
22 lines
647 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0c62dd19..a2f72106 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -95,6 +95,16 @@ foreach(I_FILE RANGE ${WEBP_SIMD_FILES_TO_INCLUDE_RANGE})
|
|
)
|
|
endforeach()
|
|
|
|
+# Install the headers
|
|
+file(GLOB PUBLIC_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/src/webp/*.h)
|
|
+install(FILES ${PUBLIC_HEADERS} DESTINATION include/webp)
|
|
+
|
|
+# Install the library
|
|
+install(TARGETS webp
|
|
+ RUNTIME DESTINATION bin
|
|
+ LIBRARY DESTINATION lib
|
|
+ ARCHIVE DESTINATION lib)
|
|
+
|
|
# Build the executables if asked for.
|
|
if(WEBP_BUILD_CWEBP OR WEBP_BUILD_DWEBP OR
|
|
WEBP_BUILD_GIF2WEBP OR WEBP_BUILD_IMG2WEBP)
|