mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 04:29:00 +08:00
22 lines
627 B
Diff
22 lines
627 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3cb9c3b..f05800d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -276,6 +276,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)
|
|
# Example utility library.
|