Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
runtime: Define runtime_deps as dependencies in dependency_declare
Browse files Browse the repository at this point in the history
This is required to have compile definitionsa and link flags from
dependencies used for builds including this dependency.

This issue was found through spdlog which has a compile definition
to switch between bundled and external fmtlib and this definition was
available for runtime lib but not for other libraries depending on
runtime lib.

Signed-off-by: Andrej Rode <mail@andrejro.de>
  • Loading branch information
noc0lour authored and mormj committed Apr 22, 2021
1 parent fa737c5 commit 8b59e45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,5 @@ newsched_runtime_lib = library('newsched-runtime',
cpp_args : cpp_args)

newsched_runtime_dep = declare_dependency(include_directories : incdir,
dependencies: runtime_deps,
link_with : newsched_runtime_lib)

0 comments on commit 8b59e45

Please sign in to comment.