Commit af94728c authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed debug code



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11786 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c7fdfe63
...@@ -91,21 +91,22 @@ endmacro () ...@@ -91,21 +91,22 @@ endmacro ()
# check dependencies # check dependencies
macro (_check_plugin_deps _prefix) macro (_check_plugin_deps _prefix)
message("${_prefix}")
set (${_prefix}_HAS_DEPS TRUE) set (${_prefix}_HAS_DEPS TRUE)
foreach (_val ${ARGN}) foreach (_val ${ARGN})
string (TOUPPER ${_val} _VAL) string (TOUPPER ${_val} _VAL)
find_package(${_val}) find_package(${_val})
message("Dependency : ${_val} ") # Get our current list of all dependencies used by plugins
get_property( global_dependency_list GLOBAL PROPERTY GLOBAL_PLUGIN_DEPENDENCIES_LIST) get_property( global_dependency_list GLOBAL PROPERTY GLOBAL_PLUGIN_DEPENDENCIES_LIST)
message("Current List: ${global_dependency_list}")
#Add the new entry to the list
list (APPEND global_dependency_list ${_val} ) list (APPEND global_dependency_list ${_val} )
# Remove it again, if it was a duplicate
list(REMOVE_DUPLICATES global_dependency_list) list(REMOVE_DUPLICATES global_dependency_list)
# Store the list in the global property
set_property( GLOBAL PROPERTY GLOBAL_PLUGIN_DEPENDENCIES_LIST ${global_dependency_list} ) set_property( GLOBAL PROPERTY GLOBAL_PLUGIN_DEPENDENCIES_LIST ${global_dependency_list} )
if (${_val}_FOUND OR ${_VAL}_FOUND) if (${_val}_FOUND OR ${_VAL}_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment