Commit 03cc8497 authored by Jan Möbius's avatar Jan Möbius

Removed debug code



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11786 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 14dc26f7
......@@ -91,21 +91,22 @@ endmacro ()
# check dependencies
macro (_check_plugin_deps _prefix)
message("${_prefix}")
set (${_prefix}_HAS_DEPS TRUE)
foreach (_val ${ARGN})
string (TOUPPER ${_val} _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)
message("Current List: ${global_dependency_list}")
#Add the new entry to the list
list (APPEND global_dependency_list ${_val} )
# Remove it again, if it was a duplicate
list(REMOVE_DUPLICATES global_dependency_list)
# Store the list in the global property
set_property( GLOBAL PROPERTY GLOBAL_PLUGIN_DEPENDENCIES_LIST ${global_dependency_list} )
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