diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/scripts/common/AddonHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/AddonHelpers.cmake b/cmake/scripts/common/AddonHelpers.cmake index e4d685bc21..afa0459777 100644 --- a/cmake/scripts/common/AddonHelpers.cmake +++ b/cmake/scripts/common/AddonHelpers.cmake @@ -118,7 +118,7 @@ macro (build_addon target prefix libs) string(REPLACE " " ";" loop_var "${loop_var}") list(GET loop_var 1 include_name) string(REGEX REPLACE "[<>\"]|kodi/" "" include_name "${include_name}") - if(include_name STREQUAL ${depend_header}) + if(include_name MATCHES ${depend_header}) set(ADDON_DEPENDS "${ADDON_DEPENDS}\n<import addon=\"${${xml_entry_name}}\" version=\"${${depends_name}}\"/>") # Inform with them the addon header about used type add_definitions(-D${used_type_name}) |