Skip to content

Commit

Permalink
Merge pull request commontk#808 from commontk/update-external-depende…
Browse files Browse the repository at this point in the history
…ncy-module

ENH: Update ExternalProjectDependency system based on commontk/Artichoke@0cc99d3
  • Loading branch information
jcfr authored Jun 2, 2018
2 parents cf71b0a + f8b8103 commit cfaf8b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMake/ctkMacroCheckExternalProjectDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ function(_sb_get_external_project_arguments proj varname)
get_property(${proj}_EP_PROPERTY_${property} GLOBAL PROPERTY ${proj}_EP_PROPERTY_${property})
get_property(${_ALL_PROJECT_IDENTIFIER}_EP_PROPERTY_${property} GLOBAL PROPERTY ${_ALL_PROJECT_IDENTIFIER}_EP_PROPERTY_${property})
set(_all ${${proj}_EP_PROPERTY_${property}} ${${_ALL_PROJECT_IDENTIFIER}_EP_PROPERTY_${property}})
if(_all)
list(LENGTH _all _num_properties)
if(_num_properties GREATER 0)
list(APPEND _ep_arguments ${property} ${_all})
endif()
endforeach()
Expand Down

0 comments on commit cfaf8b7

Please sign in to comment.