Check for pango and readline with cmake.

Fixes #6444
This commit is contained in:
Pentarctagon 2022-01-13 13:47:27 -06:00
parent 8351fec2ae
commit 1c3001e568
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -499,6 +499,8 @@ if(ENABLE_GAME OR ENABLE_TESTS)
pkg_check_modules(PANGOCAIRO REQUIRED pangocairo>=1.22.0)
# TODO: can use find_package and Fontconfig::Fontconfig with cmake 3.14+
pkg_check_modules(FONTCONFIG REQUIRED fontconfig>=2.4.1)
pkg_check_modules(PANGO REQUIRED pango>=1.22.0)
pkg_check_modules(LIBREADLINE REQUIRED readline)
endif()
if(ENABLE_TESTS)