mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Fix tests.
As we use the main library of gtest (if already installed) we don't need to (and must not) define a main function for the tests. Does the same (use main library) if we use the subproject.
This commit is contained in:
@ -13,7 +13,7 @@ tests = [
|
||||
|
||||
gtest_dep = dependency('gtest',
|
||||
main:true,
|
||||
fallback: ['gtest', 'gtest_dep'],
|
||||
fallback: ['gtest', 'gtest_main_dep'],
|
||||
required:false)
|
||||
|
||||
if gtest_dep.found()
|
||||
|
Reference in New Issue
Block a user