Skip to content

Commit

Permalink
meson: Added a pkg-config variable for whether the command line parse…
Browse files Browse the repository at this point in the history
…r is enabled
  • Loading branch information
dragonmux committed Aug 31, 2023
1 parent 0a2630b commit 0708039
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ if not meson.is_subproject() and get_option('build_library')
libraries: [libSubstrate, deps],
version: meson.project_version(),
extra_cflags: libSubstrateArgs,
variables: [
'command_line_enabled=@0@'.format(substrateCommandLineEnabled),
],
description: 'A collection of headers containing useful tools and gadgets for building C++ programs'
)
endif
Expand Down

0 comments on commit 0708039

Please sign in to comment.