chore(librealesrgan): updated librealesrgan submodule path

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x 2024-10-29 00:00:00 +00:00
parent d50cf54f2a
commit 31e606bd4c
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

6
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "third_party/libreal_esrgan_ncnn_vulkan"] [submodule "third_party/librealesrgan_ncnn_vulkan"]
path = third_party/libreal_esrgan_ncnn_vulkan path = third_party/librealesrgan_ncnn_vulkan
url = https://github.com/k4yt3x/libreal-esrgan-ncnn-vulkan.git url = https://github.com/k4yt3x/librealesrgan-ncnn-vulkan.git
[submodule "third_party/ncnn"] [submodule "third_party/ncnn"]
path = third_party/ncnn path = third_party/ncnn
url = https://github.com/Tencent/ncnn.git url = https://github.com/Tencent/ncnn.git

View File

@ -271,10 +271,10 @@ endif()
# Include ExternalProject module # Include ExternalProject module
include(ExternalProject) include(ExternalProject)
# Add libreal-esrgan-ncnn-vulkan as an external project # Add librealesrgan-ncnn-vulkan as an external project
ExternalProject_Add( ExternalProject_Add(
realesrgan realesrgan
SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/libreal_esrgan_ncnn_vulkan/src SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/librealesrgan_ncnn_vulkan/src
CMAKE_ARGS CMAKE_ARGS
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/realesrgan_install -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/realesrgan_install
@ -309,7 +309,7 @@ target_include_directories(libvideo2x PRIVATE
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/include/libvideo2x ${PROJECT_SOURCE_DIR}/include/libvideo2x
${PROJECT_SOURCE_DIR}/third_party/libreal_esrgan_ncnn_vulkan/src ${PROJECT_SOURCE_DIR}/third_party/librealesrgan_ncnn_vulkan/src
) )
# Compile options for the shared library # Compile options for the shared library