diff options
Diffstat (limited to 'dep/fmt/CMakeLists.txt')
-rw-r--r-- | dep/fmt/CMakeLists.txt | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/dep/fmt/CMakeLists.txt b/dep/fmt/CMakeLists.txt index 0ee7bb78b0c..176d23058b5 100644 --- a/dep/fmt/CMakeLists.txt +++ b/dep/fmt/CMakeLists.txt @@ -10,31 +10,20 @@ include(CheckSymbolExists) -set(strtod_l_headers stdlib.h) - -if (APPLE) - set(strtod_l_headers ${strtod_l_headers} xlocale.h) -endif () - -if(WIN32) - check_symbol_exists(_strtod_l "${strtod_l_headers}" HAVE_STRTOD_L) -else() - check_symbol_exists(strtod_l "${strtod_l_headers}" HAVE_STRTOD_L) -endif() - set(FMT_HEADERS + include/fmt/args.h include/fmt/chrono.h include/fmt/color.h include/fmt/compile.h include/fmt/core.h include/fmt/format.h include/fmt/format-inl.h - include/fmt/locale.h include/fmt/os.h include/fmt/ostream.h - include/fmt/posix.h include/fmt/printf.h - include/fmt/ranges.h) + include/fmt/ranges.h + include/fmt/std.h + include/fmt/xchar.h) set(FMT_SOURCES src/format.cc @@ -42,12 +31,6 @@ set(FMT_SOURCES add_library(fmt STATIC ${FMT_SOURCES} ${FMT_HEADERS}) -if (HAVE_STRTOD_L) - target_compile_definitions(fmt - PUBLIC - FMT_LOCALE) -endif() - target_include_directories(fmt PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) |