mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-09 12:50:05 +00:00
Fix FMT_OS definition (#3783)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
63ce170853
commit
7fd1802686
@ -288,6 +288,7 @@ if (FMT_MODULE)
|
||||
endif ()
|
||||
if (FMT_OS)
|
||||
target_sources(fmt PRIVATE src/os.cc)
|
||||
else()
|
||||
target_compile_definitions(fmt PRIVATE FMT_OS=0)
|
||||
endif ()
|
||||
|
||||
|
@ -113,4 +113,4 @@ module :private;
|
||||
#include "format.cc"
|
||||
#if FMT_OS
|
||||
# include "os.cc"
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user