[all] allow disable of backtrace support during build

This commit is contained in:
Geoffrey McRae
2019-06-19 09:13:03 +10:00
parent d7fa0aeff9
commit 4cf6dec592
5 changed files with 26 additions and 3 deletions

View File

@@ -14,6 +14,9 @@ if(OPTIMIZE_FOR_NATIVE)
endif()
endif()
option(ENABLE_BACKTRACE "Enable backtrace support on crash" ON)
add_feature_info(ENABLE_BACKTRACE ENABLE_BACKTRACE "Backtrace support.")
add_compile_options(
"-Wall"
"-Werror"