Lakka-LibreELEC/packages/mediacenter/kodi/patches/kodi-100.26-disable-internal-texturepacker.patch
Matthias Reichl 90d4c81fa9 kodi: update disable-internal-texturepacker patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-10 11:36:32 +01:00

20 lines
985 B
Diff

diff --git a/cmake/modules/buildtools/FindTexturePacker.cmake b/cmake/modules/buildtools/FindTexturePacker.cmake
index 4817d15799..c56630001a 100644
--- a/cmake/modules/buildtools/FindTexturePacker.cmake
+++ b/cmake/modules/buildtools/FindTexturePacker.cmake
@@ -52,15 +52,6 @@ if(NOT TARGET TexturePacker::TexturePacker::Executable)
endif()
endif()
- # Ship TexturePacker only on Linux and FreeBSD
- if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
- # But skip shipping it if build architecture can be executed on host
- # and TEXTUREPACKER_EXECUTABLE is found
- if(NOT (HOST_CAN_EXECUTE_TARGET AND TEXTUREPACKER_EXECUTABLE))
- set(INTERNAL_TEXTUREPACKER_INSTALLABLE TRUE CACHE BOOL "" FORCE)
- endif()
- endif()
-
# Use it during build if build architecture can be executed on host
# and TEXTUREPACKER_EXECUTABLE is not found
if(HOST_CAN_EXECUTE_TARGET AND NOT TEXTUREPACKER_EXECUTABLE)