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:
Emmanuel Lepage Vallée 2017-01-04 04:45:09 -05:00 committed by GitHub
commit a1085b64dd
1 changed files with 1 additions and 0 deletions

View File

@ -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)