]> git.ipfire.org Git - thirdparty/ccache.git/commit
build: Improve message when pkg-config can’t find libhiredis
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 30 Jul 2021 08:19:35 +0000 (10:19 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 30 Jul 2021 08:19:35 +0000 (10:19 +0200)
commita31d52bf71cff07e6c5dd638c5a9fc3e835e3994
tree7a7d3b53160b38ec143421ce1465d08615fa1297
parent10b9d4d3bedf3253fa39dbe875d0527e567d5983
build: Improve message when pkg-config can’t find libhiredis

pkg_check_modules stops immediately when given the REQUIRED argument so
the nicer error message won’t be reached. Fix this by simply removing
REQUIRED since that will make the configuration step fail in a better
way.
cmake/Findhiredis.cmake