summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-04-07 18:38:38 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-04-07 18:38:38 +0200
commitdb23d37b72a4c66e41f18830eced55d0c43c0da1 (patch)
treecf6f0cacc72d81868f43cb61fa990e69f0d6f2a6
parent623797de802f0c6871575702d9ee9fdf96b0c8b5 (diff)
downloadmakefile-db23d37b72a4c66e41f18830eced55d0c43c0da1.tar.gz
makefile-db23d37b72a4c66e41f18830eced55d0c43c0da1.tar.bz2
Store and display missing dependencies.
-rw-r--r--cmake/CompizFusion.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/CompizFusion.cmake b/cmake/CompizFusion.cmake
index 6c7dd59..345e7b0 100644
--- a/cmake/CompizFusion.cmake
+++ b/cmake/CompizFusion.cmake
@@ -176,6 +176,7 @@ macro (_check_plugin_pkg_deps _prefix)
list (APPEND ${_prefix}_INCDIRS "${_${_name}_INCLUDE_DIRS}")
else (_${_name}_FOUND)
set (${_prefix}_HAS_PKG_DEPS FALSE)
+ _cf_set (${_prefix}_MISSING_DEPS "${${_prefix}_MISSING_DEPS} ${_val}")
endif (_${_name}_FOUND)
endforeach (_val)
endmacro (_check_plugin_pkg_deps)
@@ -205,6 +206,7 @@ macro (_check_plugin_plugin_deps _prefix)
list (APPEND ${_prefix}_INCDIRS "${_${_name}_INCLUDE_DIRS}")
else (_${_name}_FOUND)
set (${_prefix}_HAS_PLUGIN_DEPS FALSE)
+ _cf_set (${_prefix}_MISSING_DEPS "${${_prefix}_MISSING_DEPS} compiz-${_val}")
endif (_${_name}_FOUND)
endif (_plugin_dep_${_val})
@@ -530,6 +532,7 @@ macro (compiz_fusion_plugin plugin)
else (COMPIZ_FOUND AND ${_PLUGIN}_HAS_PKG_DEPS AND ${_PLUGIN}_HAS_PLUGIN_DEPS)
message (STATUS "[WARNING] One or more dependencies for compiz plugin ${plugin} not found. Skipping plugin.")
+ message (STATUS "Missing dependencies :${${_PLUGIN}_MISSING_DEPS}")
_cf_set (CF_${_PLUGIN}_BUILD FALSE)
endif (COMPIZ_FOUND AND ${_PLUGIN}_HAS_PKG_DEPS AND ${_PLUGIN}_HAS_PLUGIN_DEPS)
endmacro (compiz_fusion_plugin)