mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-14 00:54:47 +08:00
build(cmake): disable spdlog exceptions
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -249,7 +249,7 @@ if(VIDEO2X_USE_EXTERNAL_SPDLOG)
|
||||
set(SPDLOG_LIB spdlog::spdlog)
|
||||
else()
|
||||
# spdlog exceptions are incompatible with ncnn
|
||||
option(SPDLOG_NO_EXCEPTIONS "" OFF)
|
||||
option(SPDLOG_NO_EXCEPTIONS "" ON)
|
||||
add_subdirectory(third_party/spdlog)
|
||||
set(SPDLOG_LIB spdlog::spdlog_header_only)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user