Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson: Update version requirement for GTest (>= 1.10.0) (#1131)
GTestの依存関係を探す処理を更新してバージョン要件を1.10.0以上にします。 また、ライブラリ 'gtest_main' を使うようにmeson.buildを変更します。 変更前は dependency() の 'main' キーワード引数[1]を利用して GTestが提供する main() とリンクしていました。 GTest 1.10.0のころから pkg-config のサポートが追加されているため 'main' キーワードを使わなくてもテストをビルドできるようになりました。 この修正でMeson実装の一つである muon[2] を使ってJDimのビルドやテストが 可能になります。dependency() の 'main' キーワードは今のところ 古いGTestのサポート以外では使われていないようです。 [1]: https://mesonbuild.com/Dependencies.html#gtest-and-gmock [2]: https://sr.ht/~lattis/muon/
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters