Skip to content

Commit

Permalink
spdlog: install headers and pkg-config file
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Lachnit <[email protected]>
  • Loading branch information
stephanlachnit authored and jpakkane committed Oct 17, 2024
1 parent 2e536c8 commit 43b1f49
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,7 @@
"spdlog"
],
"versions": [
"1.14.1-2",
"1.14.1-1",
"1.14.0-1",
"1.13.0-4",
Expand Down
12 changes: 12 additions & 0 deletions subprojects/packagefiles/spdlog/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,16 @@ else
)
endif

# install header and pkg-config file
install_subdir('include/spdlog', install_dir: get_option('includedir'))
pkg = import('pkgconfig')
pkg.generate(
name: 'libspdlog',
filebase: 'spdlog',
description: 'Fast C++ logging library.',
url: 'https://github.com/gabime/spdlog',
libraries: [spdlog_dep, fmt_dep],
extra_cflags: spdlog_compile_args,
)

subdir('tests')

0 comments on commit 43b1f49

Please sign in to comment.