diff --git a/subprojects/Catch2.wrap b/subprojects/Catch2.wrap index 3053b28..973fd54 100644 --- a/subprojects/Catch2.wrap +++ b/subprojects/Catch2.wrap @@ -3,4 +3,5 @@ revision = b5373dadca40b7edc8570cf9470b9b1cb1934d40 url = https://github.com/catchorg/Catch2.git [provide] -Catch2 = catch2_with_main_dep +catch2-with-main = catch2_with_main_dep +Catch2 = catch2_dep diff --git a/test/unit/meson.build b/test/unit/meson.build index 5ec1bd0..7777af0 100644 --- a/test/unit/meson.build +++ b/test/unit/meson.build @@ -1,4 +1,4 @@ -catch2_dep = dependency('Catch2', version: '>=3.5.2') +catch2_dep = dependency('catch2-with-main', version: '>=3.5.2') unit_test_prog = executable(meson.project_name(), 'int_conv_test.cpp',