Merge pull request #1358 from Elv13/clear_the_cache
build: Clear the cache when checking if a package is present
This commit is contained in:
commit
a1085b64dd
|
@ -145,6 +145,7 @@ set(AWESOME_DEPENDENCIES
|
||||||
|
|
||||||
# Check the deps one by one
|
# Check the deps one by one
|
||||||
foreach(dependency ${AWESOME_DEPENDENCIES})
|
foreach(dependency ${AWESOME_DEPENDENCIES})
|
||||||
|
unset(TMP_DEP_FOUND CACHE)
|
||||||
pkg_check_modules(TMP_DEP REQUIRED ${dependency})
|
pkg_check_modules(TMP_DEP REQUIRED ${dependency})
|
||||||
|
|
||||||
if(NOT TMP_DEP_FOUND)
|
if(NOT TMP_DEP_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue