Also install the DLL import library

The target artifact of the ARCHIVE kind means DLL import libraries for
shared library targets on Windows. See
https://cmake.org/cmake/help/latest/command/install.html#targets

Change-Id: Id22e362b39648d5b155c6f2359876ee9d90786a3
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5837740
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
Wan-Teh Chang 2024-09-04 11:55:04 -07:00 committed by Frank Barchard
parent 874f391dbf
commit 552d775b43

View File

@ -213,7 +213,7 @@ endif()
# install the conversion tool, .so, .a, and all the header files
install ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
install ( TARGETS ${ly_lib_static} DESTINATION lib )
install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin ARCHIVE DESTINATION lib )
install ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
# create the .deb and .rpm packages using cpack