diff options
-rw-r--r-- | test cases/frameworks/1 boost/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build index 771ecbc..df55b30 100644 --- a/test cases/frameworks/1 boost/meson.build +++ b/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. |