Skip to content

Commit

Permalink
Remove unneeded .enabled()
Browse files Browse the repository at this point in the history
  • Loading branch information
hdoc committed Dec 17, 2023
1 parent 4cc1f5b commit db52673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subprojects/packagefiles/spdlog/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spdlog_compile_args = []
if meson.get_compiler('cpp').has_header_symbol('format', '__cpp_lib_format', required: get_option('std_format'))
spdlog_compile_args += '-DSPDLOG_USE_STD_FORMAT'
else
fmt_dep = dependency('fmt', version: '>=8.1', required: get_option('external_fmt').enabled())
fmt_dep = dependency('fmt', version: '>=8.1', required: get_option('external_fmt'))
if fmt_dep.found()
spdlog_dependencies += fmt_dep
spdlog_compile_args += '-DSPDLOG_FMT_EXTERNAL'
Expand Down

0 comments on commit db52673

Please sign in to comment.