Commit 604d1d23 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: use list instead of cmake global property

parent 7856df19
......@@ -69,9 +69,9 @@ endmacro(SETUP_SUPERBUILD)
macro(ADDTO_DEPENDENCIES_IF_NOT_SYSTEM project)
foreach(dep ${ARGN})
if(NOT USE_SYSTEM_${dep})
# get_property(old_${project}_DEPENDENCIES GLOBAL PROPERTY prop_${project}_DEPENDENCIES)
# get_property(old_${project}_DEPENDENCIES GLOBAL PROPERTY prop_${project}_DEPENDENCIES)
list(APPEND ${project}_DEPENDENCIES "${dep}")
# set_property(GLOBAL PROPERTY prop_${project}_DEPENDENCIES "${old_${project}_DEPENDENCIES}")
# set_property(GLOBAL PROPERTY prop_${project}_DEPENDENCIES "${old_${project}_DEPENDENCIES}")
endif()
string(TOLOWER ${dep} dep_lower)
include(External_${dep_lower})
......
Supports Markdown
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