CMakeLists.txt 456 Bytes
Newer Older
1
dune_library_add_sources(fmt SOURCES
2
  fmt/src/format.cc
3
4
5
6
7
  fmt/src/posix.cc
)

target_include_directories(fmt PUBLIC
  $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/externals/fmt/include>)
8
9
10
11
12
13
14
15
16
17
18

install(FILES
  fmt/include/fmt/core.h
  fmt/include/fmt/format-inl.h
  fmt/include/fmt/format.h
  fmt/include/fmt/ostream.h
  fmt/include/fmt/posix.h
  fmt/include/fmt/printf.h
  fmt/include/fmt/ranges.h
  fmt/include/fmt/time.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/fmt)