Skip to content

Commit

Permalink
build: Allow using as meson subproject
Browse files Browse the repository at this point in the history
Mark the `jasmine` target as a possible provider of a
`find_program('jasmine')` dependency. This allows
projects to pull in jasmine-gjs as wrap/subproject.
  • Loading branch information
fmuellner authored and ptomato committed Feb 5, 2024
1 parent 034ac59 commit 6fbd6d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jasmine_runner = configure_file(configuration: config,
input: 'bin/jasmine-runner.in', output: 'jasmine-runner', install: true,
install_dir: pkglibexecdir)

meson.override_find_program('jasmine', jasmine)

# Source code and Jasmine library

install_data(
Expand Down

0 comments on commit 6fbd6d8

Please sign in to comment.