fix crash when server crashes

This commit is contained in:
2024-04-19 11:35:04 +02:00
parent 4a2adff0c8
commit 8fc197423a
3 changed files with 19 additions and 9 deletions

View File

@@ -32,6 +32,9 @@ if (SOLANACEAE_SDBOT_WEBUI_STANDALONE)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
endif()
#add_compile_options(-fsanitize=undefined)
#link_libraries(-fsanitize=undefined)
# external libs
add_subdirectory(./external EXCLUDE_FROM_ALL) # before increasing warn levels, sad :(