Skip to content

Commit

Permalink
Use system libfmt
Browse files Browse the repository at this point in the history
libfmt is available on standard PC distros and on buildroot, so lets
just use the system provided libfmt instead of a git submodule.

Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
tomba committed Dec 16, 2020
1 parent 9f3e290 commit fdffbcd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "ext/pybind11"]
path = ext/pybind11
url = https://github.com/pybind/pybind11.git
[submodule "ext/fmt"]
path = ext/fmt
url = https://github.com/fmtlib/fmt.git
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ addons:
- libevdev-dev
- meson
- ninja-build
- libfmt-dev

# Need MYCC and MYCXX as travis overwrites CC and CXX

Expand Down
1 change: 0 additions & 1 deletion ext/fmt
Submodule fmt deleted from 7512a5
4 changes: 1 addition & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ endif

add_global_link_arguments(link_arguments, language : 'cpp')

libfmt_includes = include_directories('ext/fmt/include')
libfmt_dep = declare_dependency(include_directories : libfmt_includes,
compile_args : '-DFMT_HEADER_ONLY')
libfmt_dep = dependency('fmt')

pybind11_includes = include_directories('ext/pybind11/include')
pybind11_dep = declare_dependency(include_directories : pybind11_includes)
Expand Down

0 comments on commit fdffbcd

Please sign in to comment.