Skip to content

Commit

Permalink
lib/utils: update library paths
Browse files Browse the repository at this point in the history
  • Loading branch information
djcb committed Jul 5, 2023
1 parent 4920b56 commit aed1395
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 15 deletions.
21 changes: 11 additions & 10 deletions lib/index/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,23 @@
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

index_srcs=[
'mu-indexer.hh',
'mu-indexer.cc',
'mu-scanner.hh',
'mu-scanner.cc'
'mu-indexer.hh',
'mu-indexer.cc',
'mu-scanner.hh',
'mu-scanner.cc'
]

xapian_incs = xapian_dep.get_variable(pkgconfig: 'includedir')
lib_mu_index_inc_dep = declare_dependency(
include_directories: include_directories(['.', '..', xapian_incs]))
lib_mu_index=static_library('mu-index', [index_srcs],
dependencies: [
config_h_dep,
glib_dep,
lib_mu_index_inc_dep
],
install: false)
dependencies: [
config_h_dep,
glib_dep,
lib_mu_utils_dep,
lib_mu_index_inc_dep
],
install: false)

lib_mu_index_dep = declare_dependency(
link_with: lib_mu_index
Expand Down
2 changes: 1 addition & 1 deletion lib/message/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lib_mu_message=static_library(

lib_mu_message_dep = declare_dependency(
link_with: lib_mu_message,
dependencies: [ xapian_dep, gmime_dep ],
dependencies: [ xapian_dep, gmime_dep, lib_mu_utils_dep ],
include_directories:
include_directories(['.', '..']))

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions lib/utils/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ lib_mu_utils=static_library('mu-utils', [
readline_dep,
cld2_dep
], include_directories:
include_directories(['.','..']),
include_directories(['.','..', '../thirdparty/']),
install: false)

lib_mu_utils_dep = declare_dependency(
link_with: lib_mu_utils,
compile_args: '-DFMT_HEADER_ONLY',
include_directories:
include_directories(['.', '..', '../thirdparty/fmt'])
include_directories(['.', '..', '../thirdparty'])
)

#
Expand Down Expand Up @@ -80,5 +80,6 @@ test('test-lang-detector',
executable('test-lang-detector', 'mu-lang-detector.cc',
install: false,
cpp_args: ['-DBUILD_TESTS'],
dependencies: [ config_h_dep, glib_dep, lib_mu_utils_dep ]))

subdir('tests')
2 changes: 1 addition & 1 deletion lib/utils/mu-option.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef MU_OPTION__
#define MU_OPTION__

#include "thirdparty/optional.hpp"
#include <tl/optional.hpp>
#include <string>

namespace Mu {
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/mu-result.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef MU_RESULT_HH__
#define MU_RESULT_HH__

#include "thirdparty/expected.hpp"
#include <tl/expected.hpp>
#include "utils/mu-error.hh"

namespace Mu {
Expand Down

0 comments on commit aed1395

Please sign in to comment.