@ -30,7 +30,6 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCH
add_compile_options ( "-Wconversion" )
add_compile_options ( "-Wconversion" )
add_compile_options ( "-pedantic" )
add_compile_options ( "-pedantic" )
add_compile_options ( "-Wfatal-errors" )
add_compile_options ( "-Wfatal-errors" )
endif ( )
endif ( )
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -47,11 +46,11 @@ add_library(spdlog::spdlog ALIAS spdlog)
# C h e c k i f s p d l o g i s b e i n g u s e d d i r e c t l y o r v i a a d d _ s u b d i r e c t o r y
# C h e c k i f s p d l o g i s b e i n g u s e d d i r e c t l y o r v i a a d d _ s u b d i r e c t o r y
set ( SPDLOG_MASTER_PROJECT OFF )
set ( SPDLOG_MASTER_PROJECT OFF )
if ( CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR )
if ( CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR )
set ( SPDLOG_MASTER_PROJECT ON )
set ( SPDLOG_MASTER_PROJECT ON )
endif ( )
endif ( )
option ( SPDLOG_BUILD_EXAMPLES "Build examples" ${ SPDLOG_MASTER_PROJECT } )
option ( SPDLOG_BUILD_EXAMPLES "Build examples" ${ SPDLOG_MASTER_PROJECT } )
option ( SPDLOG_BUILD_BENCH "Build benchmarks " ${ SPDLOG_MASTER_PROJECT } )
option ( SPDLOG_BUILD_BENCH "Build benchmarks (Requires https://github.com/google/benchmark.git to be installed)" OFF )
option ( SPDLOG_BUILD_TESTS "Build tests" ${ SPDLOG_MASTER_PROJECT } )
option ( SPDLOG_BUILD_TESTS "Build tests" ${ SPDLOG_MASTER_PROJECT } )
option ( SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF )
option ( SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF )