aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-06-26 06:09:16 +1000
committerfuzzard <fuzzard@kodi.tv>2024-06-26 06:31:16 +1000
commitbee2116d580b1db5760b4d79a0dd4531caa0a78f (patch)
tree0b96d50a7a601c963fb49a55b4876f931a15f366 /cmake/scripts
parentb30106b41c95d98e92be57e17bda3d7b9fc5c883 (diff)
[cmake][macro] dont hardcode kodi
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/common/Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake
index 3eec6c8474..d9b1f590f2 100644
--- a/cmake/scripts/common/Macros.cmake
+++ b/cmake/scripts/common/Macros.cmake
@@ -429,7 +429,7 @@ function(core_optional_dep)
set(_required True)
endif()
- if(TARGET kodi::${dep} OR (${depup}_FOUND AND ${depspec} IN_LIST optional_buildtools))
+ if(TARGET ${APP_NAME_LC}::${dep} OR (${depup}_FOUND AND ${depspec} IN_LIST optional_buildtools))
set(final_message ${final_message} "${depup} enabled: Yes")
# We dont want to add a build tool