Added an option to disable compiler warnings

This commit is contained in:
FIlip Demski
2020-04-03 10:09:29 +02:00
parent c2b47430fb
commit 132ec0a5fc
2 changed files with 15 additions and 10 deletions

View File

@@ -79,6 +79,9 @@ option(SPDLOG_BUILD_BENCH "Build benchmarks (Requires https://github.com/google/
# sanitizer options
option(SPDLOG_SANITIZE_ADDRESS "Enable address sanitizer in tests" OFF)
# warning options
option(SPDLOG_ENABLE_WARNINGS "Enable compiler warnings" ON)
# install options
option(SPDLOG_INSTALL "Generate the install target" ${SPDLOG_MASTER_PROJECT})
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF)