aboutsummaryrefslogtreecommitdiff
path: root/dep/fmt/CMakeLists.txt
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-01-08 22:03:44 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-08 22:03:44 +0100
commit17b20a33531b386eabcd44192a2574de72e64340 (patch)
treed31f0c39213ad07081db009060773d594e2083e9 /dep/fmt/CMakeLists.txt
parentd791afae1dfcfaf592326f787755ca32d629e4d3 (diff)
Dep/fmt: Upgrade to 9.1.0
Diffstat (limited to 'dep/fmt/CMakeLists.txt')
-rw-r--r--dep/fmt/CMakeLists.txt25
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)