summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-04-07 18:52:02 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-04-07 18:52:02 +0200
commit30e4e0dd844b2d5272cc2a82e57eac0d36483133 (patch)
treef9c7093f1a0f9eddb998ea9c5f33a950113ca9c8
parentdb23d37b72a4c66e41f18830eced55d0c43c0da1 (diff)
downloadmakefile-30e4e0dd844b2d5272cc2a82e57eac0d36483133.tar.gz
makefile-30e4e0dd844b2d5272cc2a82e57eac0d36483133.tar.bz2
Unset pkgconfig internal variable cache variable.
-rw-r--r--cmake/CompizFusion.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/CompizFusion.cmake b/cmake/CompizFusion.cmake
index 345e7b0..e4f30e9 100644
--- a/cmake/CompizFusion.cmake
+++ b/cmake/CompizFusion.cmake
@@ -177,6 +177,7 @@ macro (_check_plugin_pkg_deps _prefix)
else (_${_name}_FOUND)
set (${_prefix}_HAS_PKG_DEPS FALSE)
_cf_set (${_prefix}_MISSING_DEPS "${${_prefix}_MISSING_DEPS} ${_val}")
+ set(__pkg_config_checked__${_name} 0 CACHE INTERNAL "" FORCE)
endif (_${_name}_FOUND)
endforeach (_val)
endmacro (_check_plugin_pkg_deps)
@@ -207,6 +208,7 @@ macro (_check_plugin_plugin_deps _prefix)
else (_${_name}_FOUND)
set (${_prefix}_HAS_PLUGIN_DEPS FALSE)
_cf_set (${_prefix}_MISSING_DEPS "${${_prefix}_MISSING_DEPS} compiz-${_val}")
+ set(__pkg_config_checked__${_name} 0 CACHE INTERNAL "" FORCE)
endif (_${_name}_FOUND)
endif (_plugin_dep_${_val})
@@ -375,6 +377,7 @@ macro (compiz_fusion_plugin plugin)
set (${_PLUGIN}_HAS_PLUGIN_DEPS)
# check dependencies
+ _cf_unset (${_PLUGIN}_MISSING_DEPS)
_check_plugin_pkg_deps (${_PLUGIN} ${${_PLUGIN}_PKGDEPS})
_check_plugin_plugin_deps (${_PLUGIN} ${${_PLUGIN}_PLUGINDEPS})