build(cmake): disable spdlog exceptions

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x 2024-12-23 00:00:00 +00:00
parent 13a480c6cf
commit 39a1828a3b
No known key found for this signature in database

View File

@ -249,7 +249,7 @@ if(VIDEO2X_USE_EXTERNAL_SPDLOG)
set(SPDLOG_LIB spdlog::spdlog) set(SPDLOG_LIB spdlog::spdlog)
else() else()
# spdlog exceptions are incompatible with ncnn # spdlog exceptions are incompatible with ncnn
option(SPDLOG_NO_EXCEPTIONS "" OFF) option(SPDLOG_NO_EXCEPTIONS "" ON)
add_subdirectory(third_party/spdlog) add_subdirectory(third_party/spdlog)
set(SPDLOG_LIB spdlog::spdlog_header_only) set(SPDLOG_LIB spdlog::spdlog_header_only)
endif() endif()