mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
build: Clear the cache when checking if a package is present
While on Gentoo I get the right error message anyway, apparently this isn't universal. Fix #1356
This commit is contained in:
parent
58fed31d88
commit
b26aff3cd0
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ set(AWESOME_DEPENDENCIES
|
|||
|
||||
# Check the deps one by one
|
||||
foreach(dependency ${AWESOME_DEPENDENCIES})
|
||||
unset(TMP_DEP_FOUND CACHE)
|
||||
pkg_check_modules(TMP_DEP REQUIRED ${dependency})
|
||||
|
||||
if(NOT TMP_DEP_FOUND)
|
||||
|
|
Loading…
Reference in a new issue