[Meson] use gtest_main for fallback

This commit is contained in:
Jonathan Guzmán 2022-12-07 21:37:51 -06:00
parent 44d63d7485
commit 70b15f9de8
No known key found for this signature in database
GPG Key ID: C2956F1668BA042A

View File

@ -192,7 +192,7 @@ if get_option('SQLITECPP_BUILD_TESTS')
gtest_dep = dependency(
'gtest',
main : true,
fallback: ['gtest', 'gtest_dep'])
fallback: ['gtest', 'gtest_main_dep'])
sqlitecpp_test_dependencies = [
gtest_dep,
sqlitecpp_static_dep,