mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-16 22:19:40 +00:00
Don't add os.cc
to sources with FMT_MODULE (#4004)
It will be included by `fmt.cc`
This commit is contained in:
parent
fad0222a0c
commit
46d2acb3ba
@ -292,8 +292,7 @@ add_module_library(fmt src/fmt.cc FALLBACK
|
||||
add_library(fmt::fmt ALIAS fmt)
|
||||
if (FMT_MODULE)
|
||||
enable_module(fmt)
|
||||
endif ()
|
||||
if (FMT_OS)
|
||||
elseif (FMT_OS)
|
||||
target_sources(fmt PRIVATE src/os.cc)
|
||||
else()
|
||||
target_compile_definitions(fmt PRIVATE FMT_OS=0)
|
||||
|
Loading…
Reference in New Issue
Block a user