Skip test cases/frameworks/1 boost if boost not found

pull/3060/head
Jon Turney 7 years ago
parent d0f2f0ad3b
commit e4b4911410
  1. 5
      test cases/frameworks/1 boost/meson.build

@ -5,6 +5,11 @@ add_project_arguments(['-DBOOST_LOG_DYN_LINK'],
language : 'cpp'
)
dep = dependency('boost', required: false)
if not dep.found()
error('MESON_SKIP_TEST boost not found.')
endif
# We want to have multiple separate configurations of Boost
# within one project. The need to be independent of each other.
# Use one without a library dependency and one with it.

Loading…
Cancel
Save