blankart/thirdparty/tcbrindle_span/CMakeLists.txt
James R d8dcb81b99 CMakeLists.txt: use libfmt from thirdparty/fmt
Now compiles on Ubuntu 22.04, which only has libfmt 8.
I don't know which exact version of libfmt we need but the
one in thirdparty works.

This version of libfmt is header-only.
2024-12-29 09:25:34 -05:00

11 lines
365 B
CMake

# https://github.com/tcbrindle/span/
# Portable implementation of C++20 std::span
# Boost License 1.0
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
add_library(tcbrindle_span INTERFACE)
target_sources(tcbrindle_span INTERFACE include/tcb/span.hpp)
target_include_directories(tcbrindle_span INTERFACE include)
add_library(tcbrindle::span ALIAS tcbrindle_span)