spdlog/cmake/fmtlib.cmake
gabime 496c5fd145
Some checks failed
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[asan:OFF build_type:Release compiler:clang cppstd:20 versio… (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[asan:ON build_type:Debug compiler:clang cppstd:20 version:15]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Debug compiler:gcc cppstd:17 version:11]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Debug compiler:gcc cppstd:20 version:11]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Release compiler:clang cppstd:17 version:15]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Release compiler:gcc cppstd:17 version:13]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Release compiler:gcc cppstd:20 std_format:OFF ve… (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Release compiler:gcc cppstd:20 std_format:ON ver… (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }} DSPDLOG_USE_STD_FORMAT=${{ matrix.config.std_format || 'OFF' }}) (map[build_type:Release compiler:gcc cppstd:20 version:13]) (push) Has been cancelled
ci / OS X Clang (C++17, Release) (push) Has been cancelled
Bump fmt to 11.0.2
2024-11-25 10:35:32 +02:00

16 lines
571 B
CMake

include(FetchContent)
FetchContent_Declare(
fmt
DOWNLOAD_EXTRACT_TIMESTAMP FALSE
URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz
URL_HASH SHA256=6cb1e6d37bdcb756dbbe59be438790db409cdb4868c66e888d5df9f13f7c027f)
FetchContent_GetProperties(fmt)
if(NOT fmt_POPULATED)
FetchContent_Populate(fmt)
# We do not require os features of fmt
set(FMT_OS OFF CACHE BOOL "Disable FMT_OS" FORCE)
add_subdirectory(${fmt_SOURCE_DIR} ${fmt_BINARY_DIR})
set_target_properties(fmt PROPERTIES FOLDER "third-party")
endif ()