mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 07:39:09 +00:00
feat(cmake): added installation rules for FFmpeg and OpenCV DLLs
This commit is contained in:
parent
eb7d411f49
commit
1f18b8507d
@ -412,14 +412,36 @@ if(WIN32)
|
|||||||
GROUP_READ GROUP_EXECUTE
|
GROUP_READ GROUP_EXECUTE
|
||||||
WORLD_READ WORLD_EXECUTE
|
WORLD_READ WORLD_EXECUTE
|
||||||
)
|
)
|
||||||
install(FILES ${NCNN_BASE_PATH}/bin/ncnn.dll DESTINATION ${INSTALL_BIN_DESTINATION}
|
install(FILES ${FFMPEG_BASE_PATH}/bin/swscale-8.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/avcodec-61.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/avdevice-61.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/avfilter-10.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/avformat-61.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/avutil-59.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/postproc-58.dll
|
||||||
|
${FFMPEG_BASE_PATH}/bin/swresample-5.dll
|
||||||
|
DESTINATION ${INSTALL_BIN_DESTINATION}
|
||||||
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
|
GROUP_READ GROUP_EXECUTE
|
||||||
|
WORLD_READ WORLD_EXECUTE
|
||||||
|
)
|
||||||
|
install(FILES ${OPENCV_BASE_PATH}/build/x64/vc16/bin/opencv_world4100.dll
|
||||||
|
${OPENCV_BASE_PATH}/build/x64/vc16/bin/opencv_videoio_msmf4100_64.dll
|
||||||
|
DESTINATION ${INSTALL_BIN_DESTINATION}
|
||||||
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
|
GROUP_READ GROUP_EXECUTE
|
||||||
|
WORLD_READ WORLD_EXECUTE
|
||||||
|
)
|
||||||
|
install(FILES ${NCNN_BASE_PATH}/bin/ncnn.dll
|
||||||
|
DESTINATION ${INSTALL_BIN_DESTINATION}
|
||||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
GROUP_READ GROUP_EXECUTE
|
GROUP_READ GROUP_EXECUTE
|
||||||
WORLD_READ WORLD_EXECUTE
|
WORLD_READ WORLD_EXECUTE
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
# Install Unix-specific dependencies
|
# Install Unix-specific dependencies
|
||||||
install(FILES ${REALESRGAN_LIB} DESTINATION ${INSTALL_LIB_DESTINATION}
|
install(FILES ${REALESRGAN_LIB}
|
||||||
|
DESTINATION ${INSTALL_LIB_DESTINATION}
|
||||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
GROUP_READ GROUP_EXECUTE
|
GROUP_READ GROUP_EXECUTE
|
||||||
WORLD_READ WORLD_EXECUTE
|
WORLD_READ WORLD_EXECUTE
|
||||||
|
Loading…
Reference in New Issue
Block a user