Require chafa>=1.10

This commit is contained in:
Linus Dierheimer
2022-04-29 13:07:20 +02:00
parent 0d26cfb218
commit 7cae63ac05
+2 -2
View File
@@ -323,11 +323,11 @@ if(ENABLE_ZLIB)
endif()
if(ENABLE_CHAFA)
pkg_check_modules(CHAFA chafa)
pkg_check_modules(CHAFA chafa>=1.10)
if(CHAFA_FOUND)
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_CHAFA=1)
else()
message(WARNING "Package chafa not found. Building without support.")
message(WARNING "Package chafa>=1.10 not found. Building without support.")
endif()
endif()