0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 20:20:30 +00:00
Lakka-LibreELEC/packages/mediacenter/kodi/patches/kodi-100.26-disable-internal-texturepacker.patch
2023-10-30 14:49:49 +01:00

19 lines
821 B
Diff

--- a/cmake/modules/buildtools/FindTexturePacker.cmake
+++ b/cmake/modules/buildtools/FindTexturePacker.cmake
@@ -52,15 +52,6 @@ if(NOT TARGET TexturePacker::TexturePack
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)