mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Updated meson build
This commit is contained in:
parent
a13b0abb7d
commit
4a4f13be46
@ -41,11 +41,14 @@ spdlog_srcs = files([
|
||||
'src/async.cpp',
|
||||
'src/color_sinks.cpp',
|
||||
'src/file_sinks.cpp',
|
||||
'src/fmt.cpp',
|
||||
'src/spdlog.cpp',
|
||||
'src/stdout_sinks.cpp'
|
||||
])
|
||||
|
||||
if not get_option('external_fmt')
|
||||
spdlog_srcs+= 'src/fmt.cpp'
|
||||
endif
|
||||
|
||||
if get_option('library_type') == 'static'
|
||||
spdlog = static_library(
|
||||
'spdlog',
|
||||
@ -76,7 +79,6 @@ spdlog_dep = declare_dependency(
|
||||
# ----------------------------------
|
||||
# --- Header only dependency ---
|
||||
# ----------------------------------
|
||||
|
||||
spdlog_headeronly_dep = declare_dependency(
|
||||
include_directories : spdlog_inc,
|
||||
compile_args : compile_args,
|
||||
|
Loading…
Reference in New Issue
Block a user