This commit is contained in:
anon 2023-06-02 05:45:16 -03:00
parent 0bc047730f
commit 731ecc0d1b

View file

@ -4,7 +4,7 @@ add_executable(${TARGET} server.cpp json.hpp httplib.h)
target_compile_definitions(${TARGET} PRIVATE
# single thread
CPPHTTPLIB_THREAD_POOL_COUNT=1
# crash the server in the debug mode, otherwise send http 500 error
# crash the server in debug mode, otherwise send an http 500 error
$<$<CONFIG:Debug>:
CPPHTTPLIB_NO_EXCEPTIONS=1
>