Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
604d1d23
Commit
604d1d23
authored
Apr 13, 2016
by
Rashad Kanavath
Browse files
SuperBuild: use list instead of cmake global property
parent
7856df19
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/CMake/SuperBuild_Macro.cmake
View file @
604d1d23
...
...
@@ -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
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment