mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
ci(build): fixed librealesrgan library name
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
parent
3fe1f6d544
commit
ecbc512711
@ -237,7 +237,7 @@ target_compile_options(libvideo2x PRIVATE
|
|||||||
|
|
||||||
# Define the path to the built libresrgan-ncnn-vulkan library
|
# Define the path to the built libresrgan-ncnn-vulkan library
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(REALESRGAN_LIB ${CMAKE_BINARY_DIR}/realesrgan_install/lib/realesrgan-ncnn-vulkan.lib)
|
set(REALESRGAN_LIB ${CMAKE_BINARY_DIR}/realesrgan_install/lib/librealesrgan-ncnn-vulkan.lib)
|
||||||
else()
|
else()
|
||||||
set(REALESRGAN_LIB ${CMAKE_BINARY_DIR}/realesrgan_install/lib/librealesrgan-ncnn-vulkan.so)
|
set(REALESRGAN_LIB ${CMAKE_BINARY_DIR}/realesrgan_install/lib/librealesrgan-ncnn-vulkan.so)
|
||||||
endif()
|
endif()
|
||||||
@ -317,7 +317,7 @@ install(FILES ${PROJECT_SOURCE_DIR}/include/libvideo2x.h DESTINATION ${INSTALL_I
|
|||||||
# Platform-specific installation rules
|
# Platform-specific installation rules
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Install Windows-specific dependencies
|
# Install Windows-specific dependencies
|
||||||
install(FILES ${CMAKE_BINARY_DIR}/realesrgan_install/bin/realesrgan-ncnn-vulkan.dll
|
install(FILES ${CMAKE_BINARY_DIR}/realesrgan_install/bin/librealesrgan-ncnn-vulkan.dll
|
||||||
DESTINATION ${INSTALL_BIN_DESTINATION}
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user