Skip to content

Commit

Permalink
build: set libnvme required depending on the libnvme option
Browse files Browse the repository at this point in the history
If -Dlibnvme=enabled, require the libnvme dependency.

Signed-off-by: Klaus Jensen <[email protected]>
  • Loading branch information
birkelund committed May 15, 2024
1 parent 2374732 commit 02e5a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ add_project_arguments([

# libnvme
libnvme = dependency('libnvme', version: '>=1.0',
required: false, disabler: true,
required: get_option('libnvme'), disabler: true,
)


Expand Down

0 comments on commit 02e5a89

Please sign in to comment.